Commented but without launching?

Everything else that doesn't fall into one of the other PB categories.
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Commented but without launching?

Post 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.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: Commented but without launching?

Post by chi »

Code: Select all

D:\PureBasic\Compilers\pbcompiler.exe "Source.pb" /commented /exe "Purebasic.exe" 
Et cetera is my worst enemy
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Commented but without launching?

Post 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.
Post Reply