Click here to Skip to main content
15,911,035 members

Comments by Member 12164719 (Top 1 by date)

Member 12164719 24-Nov-15 19:49pm View    
Yes,i want to tokenize a command input by the user and and using exec i want to execute it in the child process(exec takes as inputs the substrings(tokens)).If that command is "ls /tmp | wc -l" then it has to be executed normally just like it would from the parent.
Thanks for the reply