Thanks Jeremy. I'm looking at using the `child_process` module but I don't 
see any node_modules/ folder in TW Desktop. Could you give me a leg up on 
how to import a module?

Bonus Question: If you could hack a small plugin which shows a button which 
execs say `ls` and returns (alerts) the string that would be awesome.

 const exec = require('child_process').exec;
 exec('ls', (err, stdout, stderr) => {
  if (err) {
   console.error(err);
   return;
  }
  console.log(stdout);
 });

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/9fee8f58-22e0-4627-9438-0ba7c1d6962c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to