fix ! in debugger (execute_clause)
improve system/1 and execute/1 git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1610 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -374,7 +374,8 @@ shell(Command) :-
|
||||
G = shell(Command),
|
||||
check_command(Command, G),
|
||||
get_shell(Shell,Opt),
|
||||
do_shell(Shell, Opt, Command, _, Error),
|
||||
do_shell(Shell, Opt, Command, Status, Error),
|
||||
Status = 0,
|
||||
handle_system_error(Error, off, G).
|
||||
|
||||
shell(Command, Status) :-
|
||||
@@ -416,6 +417,7 @@ system(Command, Status) :-
|
||||
G = system(Command, Status),
|
||||
check_command(Command, G),
|
||||
do_system(Command, Status, Error),
|
||||
Status = 0,
|
||||
handle_system_error(Error, off, G).
|
||||
|
||||
sleep(Interval) :- var(Interval), !,
|
||||
|
Reference in New Issue
Block a user