summaryrefslogtreecommitdiff
path: root/appl/acme/exec.b
diff options
context:
space:
mode:
Diffstat (limited to 'appl/acme/exec.b')
-rw-r--r--appl/acme/exec.b2
1 files changed, 1 insertions, 1 deletions
diff --git a/appl/acme/exec.b b/appl/acme/exec.b
index 204b6c37..93a4b67d 100644
--- a/appl/acme/exec.b
+++ b/appl/acme/exec.b
@@ -1164,7 +1164,7 @@ run(win : ref Window, s : string, rdir : string, ndir : int, newns : int, argadd
pipechar := 0;
if (t < len s && (s[t] == '<' || s[t] == '|' || s[t] == '>')){
pipechar = s[t++];
- s = s[1: ];
+ s = s[t:];
}
c.pid = sys->pctl(0, nil);
c.iseditcmd = iseditcmd;