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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login