[Mono-dev] QProcess alternative in mono

Manfred Braun manfred.braun at manfbraun.de
Fri May 5 19:12:11 EDT 2006


Hi !

I am not an indepth-developer ...

The mentioned events are only relevant, to control the I/O-streams of the started process and, on start of the process, they were assigne by the creator of the process. This is not directly an IPC mechnisme and - so far for windows - the most process do not communicate over pipes/streams, except, you've written them by yourself.

So to communicate with a running process, the usual IPC can be used [I can only speak for windows], like windows messages and OLE. Nothing of this is implemented in MS/.Net framework, except for some rudimentary methods to send/received windows messages inside of WinForms applications.

Best regards,
Manfred

---------- Original Message ----------------------------------
From: "Michael Hutchinson" <m.j.hutchinson at gmail.com>
Date:  Fri, 5 May 2006 21:32:31 +0100

On 5/5/06, Michael L Torrie <torriem at chem.byu.edu> wrote:
> One thing QProcess does implement is the emission of Qt Signals that you
> can catch with slots to get notification as to when the process has
> started, when it's ready for standard in, when it has standard out
> available, and when the process ends.  I don't know how something like
> that would be implemented in the framework of C#.

C# events...

In .NET 1.1 there's only an Exited event, but in .NET 2 there's also
OutputDataReceived and ErrorDataReceived.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
 




________________________________________________________________
Sent via the WebMail system at ak52.mailingkunden.de


 
                   



More information about the Mono-devel-list mailing list