Skip to content

Commit

Permalink
Update ClipboardCapture.cs (#139)
Browse files Browse the repository at this point in the history
Inlcude cmd /c  in command line so that the clipboard text can be run from both cmd.exe and powershell
  • Loading branch information
gbiellem committed May 30, 2020
1 parent 136f955 commit d4d3fe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Verify/Clipboard/ClipboardCapture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ static ClipboardCapture()
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
moveCommand = "move /Y \"{0}\" \"{1}\"";
deleteCommand = "del \"{0}\"";
moveCommand = "cmd /c move /Y \"{0}\" \"{1}\"";
deleteCommand = "cmd /c del \"{0}\"";
return;
}

Expand Down

0 comments on commit d4d3fe3

Please sign in to comment.