Jump to content

Recommended Posts

Posted

I'm trying to execute a python script to generate output.

Which command and /or how to Run (execute) scripts from server?

i.e.

Run("\\server\path1\path2\python_script.py arg1", "",@WorkingDir)

Thanks,

Zergling

Posted

Well, I guess ill back off, I have no idea what they are.

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted

I Have no idea what that is though, All I can say, is, when you run it, put it this way.

What program do you use, to run the scripts manually? is there an exe?

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted (edited)

Shure. Python is an interpreter like perl or ruby, so

Run('"Put your local python-executable here" "\\server\path1\path2\python_script.py" arg1', "", @WindowsDir)

should do it. You could also use @Comspec and start to use the default app..

Edited by dabus

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...