A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Start Shell/Pyton script out of MagicMirror module
-
Hi guys,
I’m currently trying to launch both a shell and a python script out of a javascript MagicMirror module, does anyone have an idea how to do this an a simple way?
The module receives a notification from the voicecontrol module and is then supposed to open a shell script or a python script depending on the command.
Thanks in advance!
-
@DevilRev you can use child process exec to run it in the node_helper https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback