javascript - how to run node js file from php using system command in mac -


i running node js file using system command in php. php code

system('cd path && node sample');

when run code in windows working fine . when transported mac not executing . please tell me how can in mac. how run node js file php using system comand in mac


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

javascript - AngularJS - Uncaught Error: [$injector:modulerr] Failed to instantiate module -

ios - Swift Array Resetting Itself -