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!)