What exactly do you mean by "as background" here? The process is
started as an independent process - unless it's waiting for input (or
its output buffers are blocked) it will run independently of the
process which started it.
You can run a console app without a window on the screen by setting the
ProcessStartInfo.CreateNoWindow field to a value of true. You may have to
set the field UseShellExecute to false but I'm not sure about that.
HK guy said:
Since I use this to process.start to call a dos program, but it will pop
You can run a console app without a window on the screen by setting the
ProcessStartInfo.CreateNoWindow field to a value of true. You may have to
set the field UseShellExecute to false but I'm not sure about that.
You might also want to check process.StartInfo.RedirectStandardOutput,
so you can read console output into string. Similar goes for input. I
use this technique for running PGP 2.6.3i.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.