Written by

System Analyst at First Line Software
Question Flávio Lúcio Naves Júnior · Aug 23, 2019

Open a Executable from Caché

Hello Everyone,

I Have an executable on my server and want to open it locally by a Caché Command.

Ps. Caché database is also on the server side.

Comments

Pete Greskoff · Aug 23, 2019

You should use $zf(-100) to execute the operating system command to run the EXE. There are examples of running .EXE files in that documentation.

0
Flávio Lúcio Naves Júnior  Aug 23, 2019 to Pete Greskoff

I saw this command, but I have a problem, this application .Exe open a Windows Form, with this command don't open.

0
Pete Greskoff  Aug 23, 2019 to Flávio Lúcio Naves Júnior

Try using the "/SHELL" flag.

0
Robert Cemper · Aug 23, 2019

As you say:  your .EXE is on the server and NOT on the CLIENT.

Some terminal emulators (e.g. KEA) once had the feature to launch a LOCAL command triggered by an ESC sequence.
But this requires your .EXE to be already installed on your LOCAL client.

You may need to have a telnet or SSH connection to your client.

Browsers typically don't allow this. But they may run JavaScript (which isn't  your .EXE)

0