include support for working_directory/2 as a system predicate.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
mktime/2,
|
||||
tmpnam/1,
|
||||
tmp_file/2,
|
||||
tmpdir/1,
|
||||
tmpdir/1,
|
||||
wait/2,
|
||||
working_directory/2
|
||||
]).
|
||||
@@ -269,10 +269,6 @@ environ_split([61|SVal], [], SVal) :- !.
|
||||
environ_split([C|S],[C|SNa],SVal) :-
|
||||
environ_split(S,SNa,SVal).
|
||||
|
||||
working_directory(OLD, NEW) :-
|
||||
getcwd(OLD),
|
||||
cd(NEW).
|
||||
|
||||
%
|
||||
% process execution
|
||||
%
|
||||
|
Reference in New Issue
Block a user