[INTERPRETER]

* NEW: EXEC / SHELL used without the AS keyword create a process object 
  that does not raise events.

[COMPILER]
* BUG: Allow the AS keyword in SHELL / EXEC even if the WAIT keyword is 
  used.
  

git-svn-id: svn://localhost/gambas/trunk@1658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2008-10-29 18:35:15 +00:00
parent 6fc736d883
commit 211da914b9

View File

@ -543,7 +543,6 @@ static void trans_exec_shell(bool shell)
bool wait;
bool as = TRUE;
/* programme <20>ex<65>uter */
TRANS_expression(FALSE);
wait = TRANS_is(RS_WAIT);
@ -571,11 +570,9 @@ static void trans_exec_shell(bool shell)
mode = TS_EXEC_STRING;
wait = TRUE;
as = FALSE;
}
if (wait)
as = FALSE;
CODE_push_boolean(wait);
CODE_push_number(mode);