Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-05-2005, 05:06 PM   #1
Registered: Mar 2005
Posts: 66

Rep: Reputation: 15
how to write a simple c prog to call a script

how do I write a simple c program in the linux envionment to call a bash script?
Old 10-05-2005, 05:10 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Do you have a sound card?

And what do you want to it?

'Hope that helps .. PSM

Seriously: you probably want to use the "system()" standard C library function. "man system" will give you the details.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write a simple c prog to call a script RajRed Linux - Software 1 10-05-2005 02:57 PM
2 simple shell prog questions provkitir Linux - Software 3 11-23-2004 03:00 AM
What is the best way to call a Java program from a C prog in Linux? renato soffiatt Programming 1 10-17-2003 07:06 AM
Im trying to write a script or prog (newbie needs help desperatly!) bripage Programming 19 08-10-2002 09:06 AM
C prog..except input ,write to textfile?? kato678 Programming 1 02-21-2002 01:09 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration