[Mono-bugs] [Bug 503081] New: eglib Process.Start failure

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 12 10:05:16 EDT 2009


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: lupus at novell.com
        ReportedBy: joe at unity3d.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list