Find the answer to your Linux question:
Results 1 to 2 of 2
Dear All, I have created a daemon process in RHEL4 platform and i am executing some commands from "system" function call. But the return status is always -1 although the ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    1

    Question "system" function

    Dear All,

    I have created a daemon process in RHEL4 platform and i am executing some commands from "system" function call. But the return status is always -1 although the command executed through the call is executed.
    So can anybody tell me how to monitor whether that system calll was sucessful or not from within the process so that I can log the events.

  2. #2
    Just Joined!
    Join Date
    Dec 2006
    Posts
    85
    perhaps if you posted the code in question and any associated output it would be easier to tell you what the problem is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...