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!
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.
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.
Do it like thousands of other people who have used SeaTable to develop powerful processes and get their ideas and tasks done more efficiently.