Python script to open external executable

Hi everyone, I am tring to use Python script to open external executable, for example: os.system(‘“C:/Program Files/Google/Chrome/Application/chrome.exe”’)
it works well in Pycharm, but not working when imported to SeaTable, it shows:
sh: C:\Program Files\Google\Chrome\Application\chrome.exe: not found

Anybody knows how to solve this, thank you so much!

The OS module is not supported in SeaTable Cloud.

For more, see Common questions - SeaTable Developer Manual

Thanks for the information, could you let me know how to run external executable from SeaTable python script?
Thank you very much!

What you try to do is not possible: The Python scripts are executed on the server, the script does not know your local files.
In addition, there is no desktop environment on the server.

Long story short: python scripts in SeaTable can be used to work with the data in SeaTable, it is not like a local Python environment.

Is it possible to use JavaScript in SeaTable to run external executable?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

You are asking the wrong questions: Scripting in SeaTable should/can not be used to execute any kind of executables. You can use JavaScript or Python Code to work with the data in a base.