Page 1 of 1

Commented but without launching?

Posted: Sat Jan 04, 2020 5:50 am
by BarryG
Hi guys, I'm using this command-line to build a commented (assembly) version of my app's source, and it works great:

Code: Select all

D:\PureBasic\Compilers\pbcompiler.exe -c Source.pb
But then it tries to run the compiled exe (PureBasic.exe) after. How do I stop that? There's no "-norun" (or similar) command-line option:

https://www.purebasic.com/documentation ... piler.html

What to do? All I want is the output, and nothing more. Thanks.

Re: Commented but without launching?

Posted: Sat Jan 04, 2020 8:24 am
by chi

Code: Select all

D:\PureBasic\Compilers\pbcompiler.exe "Source.pb" /commented /exe "Purebasic.exe" 

Re: Commented but without launching?

Posted: Sat Jan 04, 2020 1:18 pm
by BarryG
Thanks Chi. It's a bit dumb that we're forced to create an exe as well, but it's easy enough to delete it using a batch file after.