[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 wait;
|
||||||
bool as = TRUE;
|
bool as = TRUE;
|
||||||
|
|
||||||
/* programme <20>ex<65>uter */
|
|
||||||
TRANS_expression(FALSE);
|
TRANS_expression(FALSE);
|
||||||
|
|
||||||
wait = TRANS_is(RS_WAIT);
|
wait = TRANS_is(RS_WAIT);
|
||||||
@ -571,11 +570,9 @@ static void trans_exec_shell(bool shell)
|
|||||||
|
|
||||||
mode = TS_EXEC_STRING;
|
mode = TS_EXEC_STRING;
|
||||||
wait = TRUE;
|
wait = TRUE;
|
||||||
|
as = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wait)
|
|
||||||
as = FALSE;
|
|
||||||
|
|
||||||
CODE_push_boolean(wait);
|
CODE_push_boolean(wait);
|
||||||
CODE_push_number(mode);
|
CODE_push_number(mode);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user