Use ArgumentList

This commit is contained in:
Vic 2022-12-14 01:18:57 +08:00
parent eb6d040180
commit 14ae012949

View file

@ -322,7 +322,11 @@ namespace Flow.Launcher.Plugin.Explorer
{
try
{
Process.Start(editorPath, '"' + record.FullPath + '"');
Process.Start(new ProcessStartInfo()
{
FileName = editorPath,
ArgumentList = { record.FullPath }
});
return true;
}
catch (Exception e)