c# - ProcessStartInfo input during execution -


assume execute program processstartinfo:

        processstartinfo startinfo = new processstartinfo();         startinfo.filename = @"program";          startinfo.arguments = "start";         process.start(startinfo); 

during execution, program asking input user. how can provide input c#?

thanks in advance.

if know arguments should given process, before starting it, should change (second) application uses arguments in main. explanation can found here.

if still want possibility enter manually data while process running (when started manually) these arguments , when not present, ask them user instead of returning application , stopping.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -