I am trying to execute a java program with a command line argument from inside a python script. I am using CommandRunner within python and invoking its execute() method as follows:
result = remote_command_runner_util.CommandRunner(command, host, user).execute()
I am unable to execute the above command call, when passing in input parameter such as java com.test.helloWorld for the command and with some valid user and host variables.
Is it possible to invoke java program from Python using CommandRunner? (that is the only option available for me).