Compile/Run Options - Executable Commandline
Posted: Fri Jun 27, 2025 9:51 am
I have been using PureBasic for years but I have never had occasion to use this option before....
The compiled console application is working correctly with calls to ProgramParameter correctly returning the values as expected, but I can't get it to run in the IDE.
I enter the value in the 'Executable Commandline' text box but get nothing but an empty string back with I run the program from the IDE. I have tried:
- Listing the values as I would on the command line: --xxx -f -v abc
- Listing them in single quotes as a string: '--xxx -f -v abc'
- Listing them in double quotes as a string: "--xxx -f -v abc"
- Listing them in individual quotes as a string: "--xxx" "-f" "-v" "abc"
In each case the call to ProgramParameter returns an empty string
Give the maturity of the product, I'm assuming it's user error, but I'm stumped as to what I'm doing wrong....
Thanks.
The compiled console application is working correctly with calls to ProgramParameter correctly returning the values as expected, but I can't get it to run in the IDE.
I enter the value in the 'Executable Commandline' text box but get nothing but an empty string back with I run the program from the IDE. I have tried:
- Listing the values as I would on the command line: --xxx -f -v abc
- Listing them in single quotes as a string: '--xxx -f -v abc'
- Listing them in double quotes as a string: "--xxx -f -v abc"
- Listing them in individual quotes as a string: "--xxx" "-f" "-v" "abc"
In each case the call to ProgramParameter returns an empty string
Give the maturity of the product, I'm assuming it's user error, but I'm stumped as to what I'm doing wrong....
Thanks.