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

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -