http://bugzilla.novell.com/show_bug.cgi?id=503081
Summary: eglib Process.Start failure
Classification: Mono
Product: Mono: Runtime
Version: 2.4.x
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Major
Priority: P5 - None
Component: io-layer
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: Customer
Created an attachment (id=291587)
--> (http://bugzilla.novell.com/attachment.cgi?id=291587)
test_space
Process.Start
Running Process.Start with a string containing escaped spaces fails when using
eglib.
Compile this and try to execute a perl script named "test space.pl".
For a full zipped repro case including the perl script see the zip file.
----
using System.Diagnostics;
using System;
class TestProcess
{
static void Main ()
{
// invoking a script called: test space.pl
string escaped = "perl test\\ space.pl";
// string escaped = "perl 'test space.pl'"; this works correctly
Console.WriteLine("invoking command with: " + escaped);
Process info = Process.Start(escaped);
info.WaitForExit();
Console.WriteLine("Result: {0}", info.ExitCode);
}
}
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs