return this;
}
@Override
public CommandProcess write(String data) {
synchronized (ProcessImpl.this) {
<BUG>if (status != ExecStatus.RUNNING) {
</BUG>
throw new IllegalStateException("Cannot write to standard output when " + status().name().toLowerCase());
}
}

return this;
}
@Override
public CommandProcess write(String data) {
synchronized (ProcessImpl.this) {
if (processStatus != ExecStatus.RUNNING) {
throw new IllegalStateException("Cannot write to standard output when " + status().name().toLowerCase());
}
}
