How to supply command line arguments?
How can a wing user run a program that requires arguments? Thanks.
First time here? Check out the FAQ!
asked 2020-03-16 18:23:44 -0500
This post is a wiki. Anyone with karma >75 is welcome to improve it.
How can a wing user run a program that requires arguments? Thanks.
These are set in the file's properties or by defining a Named Entry Point.
For the file properties, right-click on the file or the file name in the Project tool and select Properties. This dialog is also shown by default when you start debug, unless you've disabled it.
Named Entry Points would be used if you want to define different environment or arguments for the same file; they are accessed from the Debug > Named Entry Points menu item.
The relevant docs pages are:
https://wingware.com/doc/proj/file-pr...
https://wingware.com/doc/debug/named-...
Also note that if you have a particular file set as the main entry point in a project, for example with the Debug > Set Current as Main Entry Point menu item, then the Debug > Debug Environment menu item also brings up the file properties dialog for the main entry point file.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2020-03-16 18:23:44 -0500
Seen: 2,913 times
Last updated: Mar 17 '20