C
C#5mo ago
Anton

Process.Start print the command

I have an argument enumerable. There's a bunch of internal code that gets executed that produces the actual command that will be executed, but it doesn't seem to get saved anywhere. Is there a way to print the command that's going to be executed, besides copy-pasting the code that shell-escapes the argument enumerable and computing the command manually?
1 Reply
canton7
canton75mo ago
If you're on linux, from my reading of the source. it doesn't even turn your arguments list into a string So, I suspect there's no way to get your hands on it, because it's a Windows-only thing
Want results from more Discord servers?
Add your server