I am executing my own customized linux from through C as below
C code :
system("service soapserver stop");
here here soapserver is the binary in my linux machine. Same command is executing successfully from putty but from Java when i am trying to get the output of above command its showing none.
Java code : Here soap_systemHelper is the another binary that hits to the corresponding c file function and execute the above command.
Process p = Runtime.getRuntime().exec( "soap_systemHelper 23" );
Please let me know what could be the reason for this that i am not getting any output. I'll be very much thankful for your quick response.