Announcement

Collapse
No announcement yet.

Python in scriptcase

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

  • Python in scriptcase

    Has anyone successfully exec python script?

    An example would be great....I tried using the PHP exec($pythonstring) with no luck

  • #2
    First of all, Scriptcase works better with php.
    But, if you insist on running a script with python, try this inside an event:

    Code:
      
    $command = escapeshellcmd('/path/to/your/script/test.py');
    $output = shell_exec($command);
    echo $output;
    Hope It helps.
    Regards,
    Cavadinha

    Development Team
    Netmake - IT Solutions

    Comment

    Working...
    X