PDA

View Full Version : webserver based remote command



assid
January 4th, 2018, 01:32 AM
Hi,

I am extremely new to girder, and I am trying to setup a very rudimentary simple command like like sending a variable to the webserver like url/?dothis=1 or url/?dothat=1
which i would like to receive in girder and execute a shell command based on which variable is passed

I cant seem to find a step by step howto which would guide me in this.

Ron
January 4th, 2018, 11:18 PM
Make sure the Girder webserver is turned on. Then go to this link:

http://localhost/gir/triggerEvent.lhtml?d=1&es=MyCoolEvent

You should see an empty webpage, in Girder however you'll see an even arrive named MyCoolEvent. This you can drag and drop onto your System/ShellExecute action.