Hello expert
How to execute my own shell script through C program.
waiting for reply..................
sachin
|
Newbie Member
|
|
| 25Jul2006,14:29 | #2 |
|
check execl(), pipe() system calls.
|
|
Light Poster
|
|
| 17May2012,19:26 | #3 |
|
You can execute like this :
system("mysh"); in unix operating system. mysh is the name of the shell script |
|
Newbie Member
|
|
| 18May2012,16:07 | #4 |
|
in my experience, system() and execl() are the best ones to use. Make sure to raise their permissions before u execl them.
|
