* @throws BuildException
* @see org.apache.tools.ant.taskdefs.Execute#execute
*/
public void start() throws BuildException {
if (p4input != null && p4input.length() > 0) {
myHandler = new PumpStreamHandler(new P4OutputStream(this), new P4OutputStream(this),
new ByteArrayInputStream(p4input.getBytes()));
} else {
myHandler = new PumpStreamHandler(new P4OutputStream(this), new P4OutputStream(this));
}
myHandler.setProcessInputStream(os);
myHandler.setProcessErrorStream(es);
myHandler.setProcessOutputStream(is);
myHandler.start();