[Lazarus] Launching External Tool Cmd.exe in Windows

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Sep 22 11:08:17 CEST 2016


On Thu, 22 Sep 2016 00:14:17 -0600
"Lars" <noreply at z505.com> wrote:

> Hi, Lazarus has the nice feature of being able to launch an external tool.
> 
> I'm trying to launch a console app...
> 
> So I put C:\Windows\System32\cmd.exe in the program file name for the
> external tool. This does nothing and gives no error message. Also add the
> parameter /k and it still does nothing.
> 
> Any idea how to get lazarus to launch a simple cmd.exe instance as an
> external tool? Should this be filed as a bug if it doesn't work?
> 
> Other things I will try... COMSPEC... but still cmd.exe should work, no?

I added two options "Show console" and "Hide window". Enable Show
console and disable Hide window and cmd.exe will be shown in a console
window.

Mattias


More information about the Lazarus mailing list