The Java Runtime().exec(command) taking one string causes issues. To fix, I did the following: [line 10] Made command be an array of strings and removed quotes in string after 'search=': String[] command = {"curl", "-u", "admin:password", "-k", "https://1.2.3.4:8089/services/search/jobs/export", "-d", "search=|inputlookup hosts-info", "-d", "output_mode=csv"}; [line 15] Output Strings in Array to see curl command: System.out.println("Creating curl command: " + Arrays.toString(command));
... View more