get the return status

Discussion in 'Perl' started by mike, Aug 21, 2003.

  1. mike

    mike Guest

    hi

    in unix, i have a program called program_a and i use the system call
    to invoke it

    system("program_a");

    How do i get the return status of program_a if program_a returns a few
    status codes...

    thanks
     
    mike, Aug 21, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. saha
    Replies:
    0
    Views:
    4,140
  2. Shug
    Replies:
    13
    Views:
    922
    Philipp
    Dec 15, 2006
  3. Shug
    Replies:
    13
    Views:
    974
    Philipp
    Dec 15, 2006
  4. harryos
    Replies:
    0
    Views:
    409
    harryos
    Oct 13, 2010
  5. Sven S.

    status info like rc.status

    Sven S., Dec 9, 2008, in forum: Ruby
    Replies:
    2
    Views:
    190
    Sven S.
    Dec 11, 2008
Loading...

Share This Page