Hello!I'm trying to shell into a php container then run a command with node. I have tried using child_process.exec() but i'm not getting any errors or output back. Please let me know if there is something else I can try.const { exec, spawn, } = require('child_process'); const openShell = exec('docker-compose exec api bash;'); exec('shellscript.sh');
Submitted July 30, 2019 at 07:51PM by hihellowhatsuphi
No comments:
Post a Comment