Introduction
Introduction Statistics Contact Development Disclaimer Help
Remove the need for SHPATH. - sam - An updated version of the sam text editor.
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
commit 92a9402c757a339ff0aa035d3a26f542a03e9085
parent 36ee545bc93abaa175d28eea4c389d32d99dce9b
Author: Rob King <[email protected]>
Date: Fri, 9 Sep 2016 17:40:00 -0500
Remove the need for SHPATH.
Diffstat:
sam/shell.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/sam/shell.c b/sam/shell.c
@@ -95,8 +95,7 @@ plan9(File *f, int type, String *s, int nest)
close(0); /* so it won't read from terminal */
open("/dev/null", 0);
}
- execlp(SHPATH, SHPATH, "-c", Strtoc(&plan9cmd), (char *)0);
- exits("exec");
+ exit(system(Strtoc(&plan9cmd)));
}
if(pid == -1)
error(Efork);
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.