Possible to execute a program on the server from client?

Questions, tips and tricks and techniques for scripting in Servoy

Possible to execute a program on the server from client?

Postby cuoredisardegna » Mon Mar 11, 2019 9:08 am

Hi to All,

could SomeOne resolve if there is any possibility to run a script ((shell linux) from the client on the server (Servoy 7).


Tanks in advance.

Gianni Pinna
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am

Re: Possible to execute a program on the server from client?

Postby Joas » Mon Mar 11, 2019 11:07 am

Assuming your client is a smart client, you can start a headless client with the headlessclient plugin. A headless client runs on the server. You can let the headless client execute the script using application.executeProgram().

Web- and NG-clients already run on the server, so no need to start a headless client in that case.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Possible to execute a program on the server from client?

Postby cuoredisardegna » Tue Mar 26, 2019 8:18 pm

Hi Joas,

tank You very much for Your bright answer.
I'm sorry for my late.

Rgrds
Gianni Pinna
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am


Return to Methods

Who is online

Users browsing this forum: No registered users and 8 guests