Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-01

Run parameters and Launching application bug?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giuliano Colla

I seldom use launching applications from a terminal window, so I happened to notice only recently what appears to me to be a regression from older Lazarus versions.

In the Run Parameters window, selecting "Use launching application" currently disables "Command line parameters" (Lazarus 1.6, 1.8 and trunk)

This appears rather inconsistent with the fact that a $(TargetCmdLine) macro in the launching application parameters properly picks up the content of the disabled "Command line parameters".

If you are using a launching application and need to change the command line parameters you're forced to deselect "Use launching application", edit your command line parameters, and then re-enable "Use launching application".

Is there any rationale behind this rather odd behaviour, introduced somewhere after Lazarus 1.4.4?

Giuliano

Reply by email