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 - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -