[Mono-bugs] [Bug 385497] New: Process Start doesn't handle spaces in paths

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 1 02:05:23 EDT 2008


           Summary: Process Start doesn't handle spaces in paths
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: albright at wesay.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=211685)
 --> (https://bugzilla.novell.com/attachment.cgi?id=211685)
Test program

It works just fine when there are no spaces in the path but when there is a
space at all it fails with a message from xdg-open.

I made a quick program just to verify this, which I will attach.

I called it with:

mono Projects/LauncherTest.exe /home/eric/Projects/LauncherTest.exe echo hello

and it works correctly but if I have a space anywhere in the path

mono Projects/Launcher\ Test.exe /home/eric/Projects/Launcher\ Test.exe echo
hello world

I get:
xdg-open: unexpected argument '/home/eric/Projects/Launcher Test.exe'

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list