Keshan
Keshan

Reputation: 14677

Invoke the Command line with a Netbeans plugin

i am developing a 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 !!!

Upvotes: 0

Views: 264

Answers (1)

Tim Sparg
Tim Sparg

Reputation: 3304

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.

Upvotes: 1

Related Questions