-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: jayBengoor
Message 1 in Discussion
Hi I am using System.Diagonostic.Process for executing an EXE. Is there anyway by
which I can getback the messages displayed by that EXE ?
For example Considering a runtime Library builder.... try
{
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents =true;
proc.StartInfo.WorkingDirectory="D:/DotNet/ComApp/";
proc.StartInfo.FileName ="csc.exe";
proc.StartInfo.Arguments=CommandText;
proc.Start();
}
catch (Exception e)
{
Console.WriteLine(e.Message.ToString());
} CommandText consists of different references/classfiles to be compiled using
csc.exe. During the execution of csc.exe there may be different runtime errors
occurring...like some file may not be present to compile which I have included in
commandtext string. How to get these messages ? is this a sort of interprocess
communication ?
Best Regards & Thanks in advance
Jayatheertha
PSI Datasystems.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]