You need to flush the stream returned by getProcessInput() after you write
data to it.
Hello, I need to pass a password to an application invoked using
The code is as follows:
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("/opt/appengine-go/appcfg.py -e
firstname.lastname@example.org --passin update APP_DIR");
OSProcessHandler handler = new OSProcessHandler(proc,null);
String password = "mypassword";
byte theByteArray = password.getBytes();
When I run the same command from terminal, I get prompted for password
and I am able to type it, and it uploads. How can I reproduce that?
"Develop with Pleasure!"