mac osx compat
Jeff Chan <[email protected]> Thu, 06 Mar 2003 16:33:32 -1000
| Newsgroups | gmane.comp.mozilla.leech |
|---|---|
| Message-ID | <[email protected]> |
Hi guys,
so I'm tweaking around with this leech program in the .js file. I'm
trying to get wget from fink to be used. It's installed in /sw/bin/wget
but might be called MyDisk:sw:bin:wget.
I used the jslib instead, and converted some of the file access routines
to use FileUtils.
I have a snip like:
fu = new FileUtils();
fu.spawn ("MyDisk:sw:bin:wget", "arg1 arg2 arg3");
fu.exists (...); works just fine, it returns true. fu.size(...) works
as well too. But fu.spawn doesn't, which makes me wonder, can you
actually run command line stuff from mozilla in osx?
Jeff