i'm trying spawn background python program php. can locally using php can't work through laravel/iis. think due security setting can't figure out , i'm not sure if laravel or iis blocking it.
when try run through laravel, doesn't throw errors , $result = 0. it's nothing happens.
i'm using php 5.5 x86 nts, iis 7, , laravel 5.
php code i'm using in both situations (locally, through laravel/iis):
<?php $wshshell = new com("wscript.shell"); $result = $wshshell->run("python c:\dashboard\public\python\dummy.py", 3, false); ?>
dummy.py writes timestamp file.
any ideas?
Comments
Post a Comment