You'll need to be a bit more specific. Language? Platform? OS?
If you're talking about a command line program you're running within Windows, you could just manually open a command prompt (Windows + R, type "cmd" and hit enter), then run your program from there.