public synchronized String sendAndReceive(String data) {
		Assert.isTrue(isRunning(), "Shell process is not started");
		send(data);
		return receive();
	}
Send and receive data in request/response fashion.
@param data the input
@return the output
extensions/spring-xd-extension-process/src/main/java/org/springframework/xd/extension/process/ShellCommandProcessor.java