Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Location
    Timbaktu
    Posts
    185

    Unanswered: Unix error handling

    I'm running a SHELL command with-in my unix program and trying to contrl the flow with the error handling. My question is that some case when the error <> 0, I want the unix to display nothing, but it's always displaying the error message on the screen. Any Help?

  2. #2
    Join Date
    Jul 2003
    Location
    England
    Posts
    152
    you could redirect standard error output - something like <command> 2>/dev/null
    Regards
    Dbabren

Posting Permissions

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