![]() |
|
#1
| |||
| |||
| 运行JAR文件的论点HTML页中使用JavaScript使错误-组件返回故障代码: 0x80520003 ( NS_ERROR_FILE_EXECUTION_FAILED ) [ nsIProcess.run ]而同样的脚本运行罚款exe文件。有关部分的脚本是根据 功能runGecko (前卫, args ) ** 尝试** 下午= netscape.security.PrivilegeManager 。 enablePrivilege ( ' UniversalXPConnect ' ) ; 文件= Components.classes [ ' @ mozilla.org /文件/地方; 1 ' ] 。 createInstance ( Components.interfaces.nsILocalFile ) ; file.initWithPath (前卫) ; 如果( ( typeof args == '字符串' ) & & ( args ! = '' ) ) ** 聚苯乙烯= Components.classes [ ' @ mozilla.org /进程/公用事业; 1 ' ] 。 createInstance ( Components.interfaces.nsIProcess ) ; ps.init (档案) ; ps.run (虚假, [ args ] , 1 ) ; ) 其他** file.launch ( ) ; ) ) 渔获量(五) ** window.alert ( e.message ) ; ) ) 哎呀, **是左大括号 |