c++ - opening a .exe (c program) from c# -
i want open executable c/c++ program c# includes giving inputs. have used process.start() supports command line arguments there way pass arguments cin or scanf function??
you need set process.redirectstandardinput
, can write information process.standardinput
stream.
see example @ msdn: https://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardinput%28v=vs.110%29.aspx
Comments
Post a Comment