Skip to content

Commit 89642b7

Browse files
committed
Fix nested path resolution failure
Remove WorkingDirectory from ProcessStartInfo as it was incorrectly being set to a file path instead of a directory path, causing failures with deeply nested paths.
1 parent bb61ee0 commit 89642b7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/CodingWithCalvin.OpenInNotepadPlusPlus/Commands/OpenExecutableCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ private static void OpenExecutable(string executablePath, string selectedFilePat
7272
{
7373
var startInfo = new ProcessStartInfo
7474
{
75-
WorkingDirectory = selectedFilePath,
7675
FileName = $"\"{executablePath}\"",
7776
Arguments = $"\"{selectedFilePath}\"",
7877
CreateNoWindow = true,

0 commit comments

Comments
 (0)