Qbasicnews.com

General => General Programming => Topic started by: wallace on February 22, 2007, 09:38:26 PM



Title: What's the C equivalent to SHELL?
Post by: wallace on February 22, 2007, 09:38:26 PM
I know it's not one command, but I know it can be done.

What's the C equivalent for:  SHELL "ls"


Title: What's the C equivalent to SHELL?
Post by: DrV on February 22, 2007, 10:09:10 PM
http://www.cs.biu.ac.il/cgi-bin/man?execv+2


Title: What's the C equivalent to SHELL?
Post by: wallace on February 23, 2007, 01:29:10 AM
Hey thanks, I knew of most of those commands from my C book, but it did a horrible job of explaining what they actually did.  That helped a lot.