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

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -