Good evening, please tell me how to interact with the exe-file from C ++ code? I'm interested in the option of emulation treatment through the command line.

I tried to do something like:

system("cmd TestCSharp.exe"); 

But it just ran the command line.

  • system("TestCSharp.exe arg1 arg2 arg3"); - is it something? - PinkTux
  • @PinkTux is not, substitution of stdin and stdout (and stderr ?). - D-side
  • @Knochkatyk, some kind of incomprehensible wording "version of the emulation treatment through the command line" :-) - PinkTux
  • @PinkTux got it right. I did not push exe there, now everything works, thanks! - IlyaGutnikov
  • And, that is, all the same not emulation? Okay. - D-side

0