Hi all,

I have a following problem. When I try to start
process from ExecuteTask method I received
error: "Invalid PInvoke metadata format.".

I use code like this:

Process process = new Process();
process.StartInfo.FileName = "ping.exe";
process.StartInfo.WorkingDirectory = ".";
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.UseShellExecute = false;
process.Start();
process.WaitForExit();

In console application this code run without problems but not in ExecuteTask
method.

Thanks for answers.

Pavel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to