C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 06-06-2006, 11:49 AM   #1
Eager young mind
 
Join Date: Jun 2006
Posts: 342
invoke the execution of one c program from another

hello,
I have to transfer one .c file form my machine to another remote machine without telnetting into it. I have managed to do so ,but I have to execute the same file ,again without telnetting into that machine.. Which means ,I have to execute the .c file I have transferred through my program on my machine..I have no clue on this..Please help
kris.c is offline   Reply With Quote
Old 06-07-2006, 08:39 AM   #2
Registered User
 
Join Date: Mar 2005
Location: Mountaintop, Pa
Posts: 1,059
What platform are you doing this "remoting" on? Windows, Linux?
BobS0327 is offline   Reply With Quote
Old 06-07-2006, 01:12 PM   #3
Eager young mind
 
Join Date: Jun 2006
Posts: 342
i am working on linux
kris.c is offline   Reply With Quote
Old 06-08-2006, 11:10 PM   #4
Eager young mind
 
Join Date: Jun 2006
Posts: 342
Thumbs up solution

hi all,
I found out a procedure called system().. This allows us to execute shell commands from our C programs.. This does the job required..
thanks anyway,
kris.c is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
suspend execution of a program majoub C++ Programming 8 07-28-2006 06:34 AM
execution of a C program kris.c C Programming 7 07-27-2006 11:14 AM
How do you read gzip output from 'C' program? brett C Programming 5 03-13-2006 12:01 AM
I need some help with my program please. agentxx04 C Programming 9 09-26-2004 07:51 AM
My program, anyhelp @licomb C Programming 14 08-14-2001 10:04 PM


All times are GMT -6. The time now is 10:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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