This code works and opens notepad.exe under windows 10. Where does this command actually get executed under Windows 10? with which command line interpreter program? cmd ? powershell?
posted 2 years ago
or does java only check PATH and run the program if it exists there. Anyone who knows whats going on when a command executed with exec()? I'm just confused because it takes a command string as parameter but commands are specific to interpreter. Which commands are acceptable by exec() function under Windows 10?