Pass parameters to a new process

J

John Smith

Is there a relatively simple way in .NET to spawn a new process (also
written in .NET) and pass parameters to that process other than using the
command line arguments, temporary files or something more advanced like
sockets etc ? I'd like to pass a string parameter containing XML to a newly
spawned process.
 
J

Jon Skeet [C# MVP]

John Smith said:
Is there a relatively simple way in .NET to spawn a new process (also
written in .NET) and pass parameters to that process other than using the
command line arguments, temporary files or something more advanced like
sockets etc ? I'd like to pass a string parameter containing XML to a newly
spawned process.

The use of a socket or temporary file seems pretty reasonable to me.
What do you want to do that using a network connection would be
problematic for?
 

Ask a Question

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.

Ask a Question

Top