[Jslib] problem with FileUtils.spawn()

gerryk gerryk at kaltel.com
Thu Aug 21 13:28:46 EDT 2003


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

Gerry

<?xml version="1.0"?>

<window
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="application/x-javascript" src="chrome://jslib/jslib.js"/>

<script type="application/x-javascript">

include('chrome://jslib/io/fileUtils.js');

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

</script>
</window>



More information about the Jslib mailing list