equal
deleted
inserted
replaced
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*) |