code: public ProcessContext ranIn(File directory) {
      Assert.isTrue(FileSystemUtils.isDirectory(directory), "[%s] must be a valid directory", directory);
      this.directory = directory;
      return this;
    }
docs: Sets the file system directory in which the {@link Process} represented by this context is running.
  
  @param directory {@link File} object referencing the file system directory in which the {@link Process} is running.
  @return this {@link ProcessContext}.
  @throws IllegalArgumentException if {@link File} is not a valid directory
  @see java.io.File