protected void closeInput() {
    var processInputWriter = myProcessInputWriter;
    var processInputReader = myProcessInputReader;
    var dataHolder = myDataHolder;
    myProcessInputWriter = null;
    myProcessInputReader = null;
    if (dataHolder != null) {
      dataHolder.putUserData(ExternalSystemRunConfiguration.RUN_INPUT_KEY, null);
    }
    //noinspection deprecation
    StreamUtil.closeStream(processInputWriter);
    //noinspection deprecation
    StreamUtil.closeStream(processInputReader);
  }
protected void closeInput()