mac osx compat
Jeff Chan <mirage <at> rateaprof.com>
2003-03-07 02:33:32 GMT
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?