• exec_int for JavaScript

    From Adam B@VERT to All on Tue Jan 20 22:12:28 2009
    Hello everyone,ããI am trying to do everything in JavaScript, but have ran into a snag. What isãthe equivalent for Baja's exec_int, but for JavaScript?ããThanks!ããAdam B.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Deuce@VERT/SYNCNIX to Adam B on Wed Jan 21 12:52:19 2009
    Re: exec_int for JavaScriptã By: Adam B to All on Tue Jan 20 2009 10:12 pmãã > I am trying to do everything in JavaScript, but have ran into a snag. Whatã > is the equivalent for Baja's exec_int, but for JavaScript?ããI would need to see the context to give something better, but an *exact*ãtranslation is:ãbbs.exec(bbs.cmdstr("cmdstr", path, str), EX_OUTR|EX_INR|EX_OUTL);ããIf you don't use command line specifiers, you don't need to include theãbbs.cmdstr() call so:ãbbs.exec("command", EX_OUTR|EX_INR|EX_OUTL);ããOdds are VERY good that EX_OUTL doesn't matter either so you can leave that offãas well:ãbbs.exec("command", EX_OUTR|EX_INR);ãã--- ãSynchronet - Jump on the Web 0.2 bandwagon!ãã---ã þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)ã