Command line compiler

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tinman.

Actually, I do have an issue with the command line compiler. If I do this:

PBCompiler myprog.pb >c:\pbout.txt

And the program uses the console library, then something goes wrong and the program aborts (probably because if the console cannot be opened the program exits). So what's the deal with this? Is it a bug in the console library? Is it just the way Windows works? Why would the console not be able to open if I have redirection of the output of the compiler? How does the PBEditor manage to catch the compiler output in that case?


Edited by - tinman on 05 April 2002 16:07:59