diff options
author | Araq <rumpf_a@web.de> | 2011-11-18 19:08:07 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-18 19:08:07 +0100 |
commit | c9b67f724d039437ea72f666018d2a80266b8a2b (patch) | |
tree | fa7c340cbba7794c0da1403c618c500abe973813 /lib/pure/osproc.nim | |
parent | 12bac28d23ab21879a0f40fc7b2b2c875be90f82 (diff) | |
download | Nim-c9b67f724d039437ea72f666018d2a80266b8a2b.tar.gz |
new osproc implementation may work with mac os x
Diffstat (limited to 'lib/pure/osproc.nim')
-rwxr-xr-x | lib/pure/osproc.nim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 03880e72e..b1b22f0b8 100755 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -547,10 +547,6 @@ elif not defined(useNimRtl): var a = toCStringArray(["sh", "-c"], [x]) chck posix_spawn(pid, "/bin/sh", fops, attr, a, e) - if {poEchoCmd, poUseShell} * options == {poEchoCmd}: - # shell echos already, so ... - echo(command, " ", join(args, " ")) - chck posix_spawn_file_actions_destroy(fops) chck posix_spawnattr_destroy(attr) @@ -593,7 +589,6 @@ elif not defined(useNimRtl): quit("execve call failed: " & $strerror(errno)) # Parent process. Copy process information. if poEchoCmd in options: - # shell with no redirects echos already, so ... echo(command, " ", join(args, " ")) result.id = pid |