I'm having a very strange problem where I run a managed .net console app on a remote server using psexec. I get this error "The process tried to write to a nonexistent pipe".
Now I wrote an unmanaged C++ program to output to std::cout, and it works just fine.
Interestingly, if I run cmd.exe remotely, and use the /u (unicode) option, I don't get the error, but I get garbage text streamed back to the console.
Can anyone explain what might be going on here?
Cheers, Mark