I have a line of code as below
app.system("cmd.exe python D:\project\PStest.py");
This is to run a python script from within photoshop. The similar question is asked here already and I followed the same Use Photoshop JavaScript to Execute System Command Line Prompt
When I execute the above code I get an error as
Error 24: app.system is not a function.