Find the answer to your Linux question:
Results 1 to 2 of 2
hai , i wrote a script file ......... i have been write a program in c and i want to execute the script file when i run the exe file ...
  1. #1
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    107

    script

    hai ,

    i wrote a script file .........

    i have been write a program in c and i want to execute the script file when i run the exe file of a program.........

    means.

    Is it possible to run the script file through a "c" program......

    Thanks in Advance

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    you can execute a shell program using C ..with help of system()..
    see here
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

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