wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/css/NodeLessCssProcessor.java
private Process createProcess(final File sourceFile)
      throws IOException {
    notNull(sourceFile);
    final String[] commandLine = getCommandLine(sourceFile.getPath());
    LOG.debug("CommandLine arguments: {}", Arrays.asList(commandLine));
    return new ProcessBuilder(commandLine).redirectErrorStream(true).start();
  }
private Process createProcess(final File sourceFile)
      throws IOException {
    notNull(sourceFile);
    final String[] commandLine = getCommandLine(sourceFile.getPath());
    LOG.debug("CommandLine arguments: {}", Arrays.asList(commandLine));
    return new ProcessBuilder(commandLine).redirectErrorStream(true).start();
  }
Creates process responsible for running lessc shell command by reading the file content from the sourceFilePath

@param sourceFile
the source path of the file from where the lessc will read the less file.
@throws IOException
when the process execution fails.