I tried various things, to no avail. I set my path to java: 

var java_path = 'C:\\Program
Files\\Java\\jre1.6.0_07\\bin\\java.exe';

and then changed the command to 

sh.run('cmd /c "' + java_path + '" -jar ' + YUI_path + '" "' + fnt + '"
--nomunge -o "' + fnYui + '"', 0, true);

The script is still failing when it tries to open the non-existent compressed
version. Using the same params, I did get the compressor to work from a DOS box
though. Maybe I need to set an environment variable specifically for this?

-- 
<http://forum.pspad.com/read.php?2,51923,51979>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem