I am trying to execute a cmd command to crash an app from java like
String command = "@upwork.exe --args -url=chrome://crash -disable-web-security -script-url=https://172.27.68.6/pre_alpha/";
Process p = Runtime.getRuntime().exec(command);
The issue is the command runs fine and crashes the app, but I get a failure
java.io.IOException: Cannot run program "@upwork.exe": CreateProcess error=2, The system cannot find the file specified
I am not sure why this is happening. Any suggestions would be of great help