I have a selenium project. I want to run my bat file using java code in ubuntu(Can I run a batch file inside a jar?)
But after all search everyone is giving me cmd based code which will only run in windows, I need a code which can be run in mac/Linux terminal as well
Runtime.getRuntime().exec("cmd /c start build.bat");
Above is the command I have found for windows but what about mac/linux