Can't access shell after domain changes.
We us Smartpill to run shell commands on Windows. It has been working fine until some changes were made to the Windows domain. Unfortunately nobody seems to be willing to admit what changes....
Now something as simple as PHP_Execute("print( shell_exec('dir') );") returns nothing. No output at all.
PHP_GetLastError returns 0.
Running the same commands directly in a command prompt works fine.
Using a Send Event script step to run a command ("cmd /c dir > c:\test.txt") from within FileMaker works fine.
Has anyone experience similar or can offer any insight?
Cheers
Simon
Hi Micah exec() works fine
Hi Micah
exec() works fine and I can use that instead.
Thanks for your help (again) Micah, swift as always.
(It is all computers on the domain except the server where it shell_exec() works fine).
Cheers
Simon
Can't access shell after domain changes
Hello Simon,
Hmmm, working fine here as you'd expect. Is this happening to all computers or just one?
You might try using the system, passthru and exec functions to see if they work.
I haven't had any reports of shell_exec not working. Let me know if you have any luck...
Regards,
Micah