[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ProgSoc] exec in C
Patrick Kennedy@nospam.KEYCORP LTD.
06/19/98 02:12 PM
warning: very rusty C coder (oh ok, i'll admit it; i'm just shit at C)
how can i call a system command (or another program) from within C?
it's under Linux, so can i use exec() ?
the program i want to call is FTP, so i want it to be rather interactive,
ie: pass FTP the commands and, for example, recieve the file listing that
it outputs.
I have bad feeling i can't what i'm proposing...pls help
Patrick Kennedy
W e b m a s t e r
Keycorp Limited, Sydney Australia
+612 9414 5429 (w) +612 0412 577 362 (m)
pkennedy@nospam.keycorp.com.au
--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>