Skip to content

Commit d101595

Browse files
authored
open image with, containing space in path (#1887)
#1886
1 parent 1a717ce commit d101595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OneMore/Commands/Images/OpenImageWithCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public override async Task Execute(params object[] args)
7474
var info = new ProcessStartInfo
7575
{
7676
FileName = editor,
77-
Arguments = path
77+
Arguments = $"\"{path}\""
7878
};
7979

8080
if (editor == string.Empty)

0 commit comments

Comments
 (0)