command line (vs help file)

Working on new editor enhancements?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

command line (vs help file)

Post by jassing »

Help File wrote:/VERSION displays the IDE version and exits
/HELP or /? displays a description of the command-line arguments
while absolutely true, it is useless. It flashes a console window (presumably with the information) and instantly closes. So you can't see either.
AZJIO
Addict
Addict
Posts: 2191
Joined: Sun May 14, 2017 1:48 am

Re: command line (vs help file)

Post by AZJIO »

?
https://learn.microsoft.com/en-us/windo ... ands/pause

cmd file

Code: Select all

@echo off
Compilers\pbcompiler.exe /?
pause
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

Re: command line (vs help file)

Post by jassing »

I give up.
No more buglets will be reported.
User avatar
Bisonte
Addict
Addict
Posts: 1313
Joined: Tue Oct 09, 2007 2:15 am

Re: command line (vs help file)

Post by Bisonte »

This is not a bug... its the normal behaviour of every windows program ...

if you open a console and then you type in : purebasic.exe /VERSION or /HELP it will not close...
otherwise you have to read the output of the console ( e.g. ReadConsoleData() )
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
Post Reply