Subj : Re: JavaScript CLI shell - hooks and handles? To : Gordan From : Brendan Eich Date : Thu Feb 06 2003 08:39 am Gordan wrote: >Hi! > >What non-standard JS extensions are available on the CLI JS shell? I have >found that there is a way to read command line parameters, but are there >functions to provide stdin/stdout/stderr? Are there file I/O functions? Are >there built in network/web access functions of the lines of >XMLHttpRequest() that would allow downloading of external files? > You should try xpcshell. It's built along with mozilla-bin when you build Mozilla-the-big-multi-app-suite thing. /be > >I am aware of PerlConnect interfaces that I could use to write the relevant >functions in Perl, but that seems silly, as I might as well write >everything in Perl then, without bothering with JavaScript at all. > >Thanks. > >Gordan > > .