Click here to Skip to main content
15,909,324 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using UBUNTU
and programming on JAVA

i want to know what would be the similar code in java to the following i am using in windows + .net C#


MIDL
System.Diagnostics.Process.Start("notepad");
Thread.Sleep(5000);
System.Diagnostics.Process.Start("taskkill", "/f /im notepad.exe");





Regards
Nakul Kundra
Posted

1 solution

did you try google with this keywords:

how to start a process in java
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900