diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-04 21:11:56 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-04 21:11:56 +0200 |
commit | 6187e219da80ed8d75c717cd5f7c2f10326c5a81 (patch) | |
tree | ffaacc9e80f6cda4a8b04df5f0a2e5949a33eae9 /sys/src/cmd/mothra/url.c | |
parent | 0b42409cf44168a945cfa5080f71b61be618beb9 (diff) |
mothra: avoid intermediate rc shell processes, use rfork(RFREND) to isolate rendezvous group
Diffstat (limited to 'sys/src/cmd/mothra/url.c')
-rw-r--r-- | sys/src/cmd/mothra/url.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/cmd/mothra/url.c b/sys/src/cmd/mothra/url.c index 5bb4736b9..dd2ea4ad3 100644 --- a/sys/src/cmd/mothra/url.c +++ b/sys/src/cmd/mothra/url.c @@ -143,11 +143,11 @@ urlget(Url *url, int body) readstr(buf, buf, sizeof(buf)); if(!cistrcmp(buf, "compress")) - fd = pipeline("/bin/uncompress", fd); + fd = pipeline(fd, "exec uncompress"); else if(!cistrcmp(buf, "gzip")) - fd = pipeline("/bin/gunzip", fd); + fd = pipeline(fd, "exec gunzip"); else if(!cistrcmp(buf, "bzip2")) - fd = pipeline("/bin/bunzip2", fd); + fd = pipeline(fd, "exec bunzip2"); return fd; } |