Bug 7054 - Exception message: %1 is not a valid Win32 application.
Summary: Exception message: %1 is not a valid Win32 application.
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: 2.10.x
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-09-10 19:09 UTC by James Bellinger
Modified: 2012-09-10 19:09 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description James Bellinger 2012-09-10 19:09:57 UTC
Hello,

If I use UseShellExecute with Process.Start and the EXE is invalid (test it with a 0-byte file named test.exe for example), I find that it says in the exception "%1 is not a valid Win32 application."

Clearly it doesn't fill out the %1 with the filename.

Minor, but it really threw me for a loop as to what it meant.
On .NET it will fill out the filename.

Have a good day

James

Note You need to log in before you can comment on or make changes to this bug.