Seg fault in custom C Shell
just use piping output of two or more linux cmds, I used "ls -l | sort" to trigger segfault
Process creation issueUse waitpid() instead , also include sys/wait.h as hinted by firedraco .
TCP server and cerr/cinInclude this line after #include <iostream>
using namespace std;
Hope this solves your problem!...
Seg fault in custom C Shellshhh>
Program received signal SIGSEGV, Segmentation fault.
0x08048772 in main () at sh.c:56
This user does not accept Private Messages