Re: Execute System Commandã > By: Mortifis to All on Mon Jan 21 2019 10:58 amãã > > Having a DUH day ... what is the function to execute a system command? Iã > > tried system.open("blah blah blah") but got "TypeError: system.open isã > > not a function" :-/ãã > It's system.exec():ã > http://synchro.net/docs/jsobjs.html#system_methodsãã > digital manããWell that's handy, I poked around all over looking and didn't even how thatãdocument was available. :-)ããI have been using system.popen() which works well also (once I remembered it isãpopen and not open :-/ )ãã---ã þ Synchronet þ The Empty Keg BBS emptykeg.synchro.net:82 Lake Echo NS Canadaã
Re: Execute System Commandã > > By: Mortifis to All on Mon Jan 21 2019 10:58 amãã > > > Having a DUH day ... what is the function to execute a system command?ã > > > I tried system.open("blah blah blah") but got "TypeError: system.openã > > > is not a function" :-/ãã > > It's system.exec():ã > > http://synchro.net/docs/jsobjs.html#system_methodsããI had followed http://wiki.synchro.net/ref:index#external_references but theãlink threw a "no resources available" so I edited the wiki and corrected theãlink for future reference, hope you don't mind :-)ãã---ã þ Synchronet þ The Empty Keg BBS emptykeg.synchro.net:82 Lake Echo NS Canadaã
| Sysop: | Karloch |
|---|---|
| Location: | Madrid, Spain |
| Users: | 74 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 15:18:08 |
| Calls: | 1,659 |
| Files: | 17,895 |
| D/L today: |
2 files (39K bytes) |
| Messages: | 66,400 |