I am executing an external application using java process builder.
for eg
./appl -file user@host:/tmp/out.log
This application first retrieves the file out.log from the external host and then executes.
Also, once the above command prompt is executed, it prompts for the host password.
How do I achieve this using java process builder? I tried to enter the command in the below mentioned way. However it throws an error that host is not found.
List<String> command = new ArrayList<String>();
command.add("./appl");
command.add("-file");
command.add("user@host:/tmp/out.log");