when I try to run an external program on CMD using the PHP CLI, it opens it with my text editor when I expect it to return the program output
my PHP CLI that I run on CMD:
php -r shell_exec('filename.py');
my python file simply has:
print('hello world')
after checking this question and its answer, the result didnt change
I have windows10 64bits if that matters
thank you
python filename.py? Or evenc:\\full\\path\\to\\python filename.py?