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
Post a Comment