Skip to content

Commit

Permalink
added quotes to prevent issues with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
popcorn9499 committed Aug 15, 2020
1 parent 48b7bbd commit da6a454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProcessAudiobooks-UI/AudiobookProcesser.cs
Expand Up @@ -80,7 +80,7 @@ public async Task StartProcess(ssh sshClient)

//Run Command
ConsoleWindow.WriteInfo("Copying book to its output directory");
await sshClient.RunCommand("cd " + commandDestFolder + "&&" +command);
await sshClient.RunCommand("cd \"" + commandDestFolder + "\" && " +command);

//copy files back

Expand Down

0 comments on commit da6a454

Please sign in to comment.