mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add "" in FilesFolders.OpenPath to be able to open path with whitespace
This commit is contained in:
parent
d509b11491
commit
f700e9bbe8
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
|
||||
public static void OpenPath(string fileOrFolderPath)
|
||||
{
|
||||
var psi = new ProcessStartInfo { FileName = FileExplorerProgramName, UseShellExecute = true, Arguments = fileOrFolderPath };
|
||||
var psi = new ProcessStartInfo { FileName = FileExplorerProgramName, UseShellExecute = true, Arguments = '"' + fileOrFolderPath + '"' };
|
||||
try
|
||||
{
|
||||
if (LocationExists(fileOrFolderPath) || FileExists(fileOrFolderPath))
|
||||
|
|
|
|||
Loading…
Reference in a new issue