File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ public void OpenDirectory(AbsolutePath directoryPath)
6565 // exists immediately. The process lifetime isn't tied to the window.
6666 // https://ss64.com/nt/explorer.html
6767 var nativePath = directoryPath. ToNativeSeparators ( _fileSystem . OS ) ;
68- var command = Cli. Wrap ( "explorer.exe" ) . WithArguments ( $@ """{ nativePath } """);
68+ var command = Cli. Wrap ( "explorer.exe" ) . WithArguments ( $@ """{ nativePath } """)
69+ .WithValidation(CommandResultValidation.None);
6970 _processRunner.Run(command, logOutput: false);
7071 }
7172
@@ -75,7 +76,8 @@ public void OpenFileInDirectory(AbsolutePath filePath)
7576 // exists immediately. The process lifetime isn't tied to the window.
7677 // https://ss64.com/nt/explorer.html
7778 var nativePath = filePath. ToNativeSeparators( _fileSystem . OS ) ;
78- var command = Cli . Wrap ( "explorer.exe" ) . WithArguments ( $@ "/select,""{ nativePath } """);
79+ var command = Cli . Wrap ( "explorer.exe" ) . WithArguments ( $@ "/select,""{ nativePath } """)
80+ .WithValidation(CommandResultValidation.None);
7981 _processRunner.Run(command, logOutput: false);
8082 }
8183
You can’t perform that action at this time.
0 commit comments