fix singleton warning.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@47 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
8c907c498d
commit
130e2b8bd1
@ -312,8 +312,8 @@ get_shell(Shell) :-
|
|||||||
getenv('SHELL', Shell0), !,
|
getenv('SHELL', Shell0), !,
|
||||||
atom_codes(Shell0, Codes),
|
atom_codes(Shell0, Codes),
|
||||||
append(Codes," -c ", Shell).
|
append(Codes," -c ", Shell).
|
||||||
get_shell(COMSPEC) :-
|
get_shell(Shell) :-
|
||||||
getenv('COMPSEC', Shell),
|
getenv('COMPSEC', Shell0),
|
||||||
atom_codes(Shell0, Codes),
|
atom_codes(Shell0, Codes),
|
||||||
append(Codes," /c ", Shell).
|
append(Codes," /c ", Shell).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user