invoking shell script

This is a discussion on invoking shell script within the C Programming forums, part of the General Programming Boards category; i have a small shell script which copies certain directories on solaris 10(intel) box when executed. is there a way ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    7

    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,761
    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, 10:55 AM
  2. shell script basic question
    By PedroTuga in forum Linux Programming
    Replies: 1
    Last Post: 09-09-2006, 04:24 AM
  3. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 02:47 PM
  4. Running 'exec' twice in one UNIX shell script
    By Zughiaq in forum Tech Board
    Replies: 2
    Last Post: 05-03-2003, 01:04 AM
  5. Arguements with a shell script
    By Doh in forum Linux Programming
    Replies: 1
    Last Post: 11-28-2002, 02:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21