Announcement

Collapse
No announcement yet.

Execute shell script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Execute shell script

    Hi all,

    can anyone explane how I can start a shell script from my application?
    I want to have a simple form with one button. After click that button I need a confirmation Yes/No and then execute a script.

    Regards
    Rolf

  • #2
    Create a control application, put some text (label) on it and remove the OK button or both if you want.
    Create a PHP button. In the sttings of the button is a field for a confirmation message.
    In the code area just call your script.

    exec('your_script');
    sc_exit(sel);


    jsb

    Comment


    • #3
      So easy ;-)

      Thanks!

      Rolf

      Comment

      Working...
      X