Bug in system.run?
Bug in system.run?
- Subject: Bug in system.run?
- From: Iceberg-Dev <email@hidden>
- Date: Sun, 15 Mar 2009 18:57:27 +0100
Considering the following source:
var tReturnValue;
try
{
tReturnValue=system.run("echo3","testEcho");
}
catch(e)
{
system.log("exception raised");
tReturnValue=undefined;
}
finally
{
system.log(tReturnValue);
if (tReturnValue==undefined)
{
system.log("function not found");
}
else
{
system.log("function found");
}
return true;
}
and the fact that echo3 is not part of the Resources folder of a
distribution script, is it not a bug that Installer.app does this?
1. Why not: Report the script has not been found
Mar 15 18:32:07 Selene : Error while running task /Users/stephane/
test10/build/test10.mpkg/Contents/Resources/echo3 launch path not
accessible
2. Problem: Does not raise an exception
3. problem: Return a value that is different from "undefined".
Mar 15 18:32:07 Selene : JS: -1517380040
Mar 15 18:32:07 Selene : JS: function found
allow-external-scripts is of course set to true
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden