[Jslib] problem with FileUtils.spawn()

Pete Collins pete at mozdev.org
Thu Aug 21 09:15:56 EDT 2003


gerryk wrote:
> Pete... the code is posted below.
> I'm using Mozilla 1.2.1 on SuSE Linux 8.2, Kernel 2.4.
> Basically what I'm trying to achieve is manually open and close ISDN 
> connection from within my XUL. The code below is just to get a feel for 
> the library.
> Thanks


Hrmm, works fine for me.


function test ()
{
   include(jslib_fileutils);
 

   var fu = new FileUtils();
   fu.spawn('/usr/X11R6/bin/xterm');

   return;
}


What version of jslib and Mozilla build are you using?

   jslibPrint(JS_LIB_VERSION);

--pete

-- 
Pete Collins
www.mozdev.org
www.mozdevgroup.com




More information about the Jslib mailing list