开发者

Invoke the Command line with a Netbeans plugin

开发者 https://www.devze.com 2023-03-03 00:18 出处:网络
i am developing a开发者_JS百科 Netbeans Plugin where i need to invoke a command(windows bath file) which can be executed with the command prompt. is there a way to invoke that batch file from the Netb

i am developing a开发者_JS百科 Netbeans Plugin where i need to invoke a command(windows bath file) which can be executed with the command prompt. is there a way to invoke that batch file from the Netbeans plugin?

Thanks !!!


You can use Runtime.exec or alternatively you can have a look at the NetBeans Developer FAQ specifically the page on External Processes I would think.

0

精彩评论

暂无评论...
验证码 换一张
取 消