Thread: invoking shell script

  1. #1
    Registered User
    Join Date
    Nov 2005

    invoking shell script

    i have a small shell script which copies certain directories on solaris 10(intel) box when executed. is there a way so that i can call this script from a c program.

    in the future i would also like to pass some parameters to the sript from the c code. can this be done? how does shell script take these parameter values?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Running programs from within programs is discussed in the FAQ.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 04-13-2009, 09:55 AM
  2. shell script basic question
    By PedroTuga in forum Linux Programming
    Replies: 1
    Last Post: 09-09-2006, 03:24 AM
  3. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM
  4. Running 'exec' twice in one UNIX shell script
    By Zughiaq in forum Tech Board
    Replies: 2
    Last Post: 05-03-2003, 12:04 AM
  5. Arguements with a shell script
    By Doh in forum Linux Programming
    Replies: 1
    Last Post: 11-28-2002, 02:20 PM