[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:
parent
6fc736d883
commit
211da914b9
@ -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,10 +570,8 @@ static void trans_exec_shell(bool shell)
|
||||
|
||||
mode = TS_EXEC_STRING;
|
||||
wait = TRUE;
|
||||
}
|
||||
|
||||
if (wait)
|
||||
as = FALSE;
|
||||
}
|
||||
|
||||
CODE_push_boolean(wait);
|
||||
CODE_push_number(mode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user