2010-07-06 83 views
0

我想要做的是使用firefox扩展运行hg命令,而不是一直显示命令提示符窗口。有没有人使用过“hstart.exe”?

我用hg.exe文件启动进程,然后通过传入参数来执行hg命令。

  1. process.init(“hg.exe”);
  2. args [“update”];
  3. process.run(true,args,args.lenght);

但我很困惑我会如何对在它

任何建议顶部使用hstart.exe?

+0

也许http://stackoverflow.com/questions/298562/windows-xp-or-vista-how-can-i-run-a-batch-file-in-the-background-no-windows-dis could帮帮我? – VonC 2010-07-06 20:47:56

回答

0

只需将hg命令作为hstart.exe中的参数传递即可!