Created
May 2, 2016 16:58
-
-
Save Haosvit/056d6b4a92b24a9814b6be9ee2266e85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Run normally: Runtime.getRuntime().exec("start \"" + PROGRAMPATH + "\""); | |
2. if error: | |
2.1. write command to batch file: | |
file start_program.bat | |
|1| start abc.exe | |
|2| | |
2.2. call batch file normally as step 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment