1 Reply
-
I found the answer to my own question after some tinkering:
Modify the line:
$p.StartInfo.Arguments="-Djava.library.path=""\lib\*;"" -classpath ""\lib\*;"" com.aris.prov.macc.MultiAgentCommandLineCloudController -u userName -pwd passWord -h localhost -p 12345 {INSERT COMMANDS HERE}"
Commands such as list, list external services, show external service [serviceID] will produce the expected output. Sadly consuming the single STDOUT message as the result of a single command run takes away the concept of an interactive shell. Therefore I won't dispute there's probably a better way to accomplish this wrapper concept.