I had curl.exe
in C:/Windows/System32. I got around the problem by creating a C:/curl
directory, adding it to Path
and putting the executable inside it. Still doesn't work when running it directly, but I can call the command line to do it.
Process.Start("cmd.exe","/K curl");