src/Pure/ML-Systems/polyml.ML
changeset 23826 463903573934
parent 23139 aa899bce7c3b
child 23921 947152add153
equal deleted inserted replaced
23825:e0372eba47b7 23826:463903573934
   149 (** OS related **)
   149 (** OS related **)
   150 
   150 
   151 use "ML-Systems/polyml-posix.ML";
   151 use "ML-Systems/polyml-posix.ML";
   152 
   152 
   153 
   153 
       
   154 (* current directory *)
       
   155 
       
   156 val cd = OS.FileSys.chDir;
       
   157 val pwd = OS.FileSys.getDir;
       
   158 
       
   159 
   154 (* system command execution *)
   160 (* system command execution *)
   155 
   161 
   156 (*execute Unix command which doesn't take any input from stdin and
   162 (*execute Unix command which doesn't take any input from stdin and
   157   sends its output to stdout; could be done more easily by Unix.execute,
   163   sends its output to stdout; could be done more easily by Unix.execute,
   158   but that function doesn't use the PATH*)
   164   but that function doesn't use the PATH*)