Hi all.
How can I execute a .sh/.bat file on the server side and capture the output in smarclient?
Do I need to do it throw headless client?
Best regards. Roberto Blasco.
Hi all.
How can I execute a .sh/.bat file on the server side and capture the output in smarclient?
Do I need to do it throw headless client?
Best regards. Roberto Blasco.
Good example of executing externals:
viewtopic.php?f=22&t=14310#p75729
I would think combining this with a headless client call would do the trick.
Hi david.
Thanks for your answer. I’m gonna study the example you say
Best regards. Roberto Blasco.
if you really just want to execute a batch/shell file on the server and don’t touch any servoy specific solution things.
Then i guess a simple client/server java plugin could do that just as fast for you. That has way less overhead.
Hi Johan.
I’ve already done some plugins for servoy to my solutions.
If I am not mistaken, Java plugins in Servoy Client are client Side executed.
How can I do to make the Java plugins executed in the server side?
Best regards. Roberto Blasco.
make a serverside plugin…
Look for example to the FilePlugin that also has a server part.
Thanks Johan
Best regards. Roberto Blasco.
btw: our UserManager plugin can already do just that… The output of the command is returned to the client executing the command.
Hi Patrick
Which version do I need, standard or pro?
Best regards. Roberto Blasco.
Standard.
Hi Patrick
I love this plugin
Only one thing … the posibility to take the stderr output without using a bashscript file.
Best regards. Roberto Blasco.
What exactly would you need there? A log file?