[Gambas-user] Issue 415 in gambas: Cannot run child process (native code)
gambas at ...2524...
gambas at ...2524...
Sat Mar 30 10:11:14 CET 2013
Comment #20 on issue 415 by r... at ...1740...: Cannot run child process
(native code)
http://code.google.com/p/gambas/issues/detail?id=415
Difficult to explain, i'll try...
The routine (Main.NotifySend) with the Exec["/notfound"] code doesn't have
a Catch section.
During the execution of this code, the error "File not found" is raised
with you latest patch.
But the project/ide does not stop in this routine displaying the error
(since there is no Catch this should happen)
But in another section in the project there are other shell commands run
(async) one of them is a Shell cmd running bti to send a tweet it has a
_Kill event defined, which checks the Last.Value in this code and it gets
the error code 2, and in another part of the project a Ping command runs
from a Shell command too, it's _Kill event also reads Last.Value and
Last.Tag but this routine also has a Catch section.
And the Error.Where and Error.Text there are filled with the error from
Main.NotifySend.
So with the patch and without the Catch code in Main.NotifySend, all kinds
of Shell processes seem to fail (so it seems since the error code gets
triggered) because they inherit the error info from Main.NotifySend. This
never happened before.
As if the different Shell processes mix up their error status.
I'm trying to create a test project, but it's not easy.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
More information about the User
mailing list