Ok, I have this shell program that I need to use in my program. But I'd rather the user have the luxury of letting my program enter commands into this shell program and then exit by itself. The shell program doesn't take any parameters. I just want to execute one command and then quit. I've tried batch files, but once the program is launched, it won't execute the remaining statements until the program is exited. If anyone knows how to do this in Unix or Windows, let me know.