/param:"quoted path"
This gets passed to the application as:
"/param:quoted path"
The only workaround I have found works like this:
$cmd = "& `"application`" /p:`"path`"; `$result = `$?"
Invoke-expression $cmd
if(!$result)
{
throw "Application failed."
}
0 comments:
Post a Comment