Door Games Unlimited

Welcome, Guest.


Subject: system.exec() vs. bbs.exec() for native command line program Date: Fri Oct 24 2014 18:58:50
From: Nightfox To: Digital Man

  Re: system.exec() vs. bbs.exec() for native command line program
  By: Digital Man to Nightfox on Fri Oct 24 2014 17:14:40

 DM> The 'system' object is available in all Synchronet JS environments
 DM> (jsexec, servers, servces), while 'bbs' is only available in the
 DM> Terminal Server (for telnet, Rlogin, SSH connections).

 DM> The bbs.exec() can be used to execute a native program with redirected 
 DM> input/output. system.exec() does not support redirected I/O.

 DM> If your script is intended for use in the terminal server, I would use 
 DM> bbs.exec().

I see, thanks.

Nightfox

---
 ■ Synchronet ■ Digital Distortion BBS - digitaldistortionbbs.com

Previous Message       Next Message
In Reply To: system.exec() vs. bbs.exec() for native command line program (Digital Man)