• Execute System Command

    From Mortifis@VERT/EMPTYKEG to All on Mon Jan 21 10:58:48 2019
    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" :-/

    ---
    þ Synchronet þ The Empty Keg BBS emptykeg.synchro.net:82 Lake Echo NS Canada
  • From Digital Man@VERT to Mortifis on Mon Jan 21 13:14:40 2019
    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

    Synchronet "Real Fact" #95:
    Synchronet v3.14a was released in December of 2006 (1 year after v3.13a). Norco, CA WX: 59.6øF, 33.0% humidity, 17 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/EMPTYKEG to Digital Man on Mon Jan 21 17:27:45 2019
    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
  • From Mortifis@VERT/EMPTYKEG to Mortifis on Mon Jan 21 17:43:25 2019
    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