Link to home
Start Free TrialLog in
Avatar of pencil123
pencil123

asked on

hi ppl this is urgent m solve it today and get 500 points

hi

I am implementing a client server prog in linux fedora core3

on server :
now when i
FILE *sout;
sout =  popen("ls -l ",r) ;

and send the output to the client

 FILE *sout;
sout =  popen("some shell script",r);

i need to execute a shell script with some parameters like
so
sh scriptname params1 param2

this is to be executed using popen and get its out and send back to client

all i need to knw is to execute a shell script using open


ASKER CERTIFIED SOLUTION
Avatar of SoyYop
SoyYop

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial