original_string: public static function createFromProcess($message, Process $process)
      {
          return new static(
              \sprintf('%s [%s]', $message, $process->getCommandLine()) .
              PHP_EOL . \sprintf('work dir: %s', $process->getWorkingDirectory()) .
              PHP_EOL . $process->getErrorOutput(),
              $process->getWorkingDirectory(),
              $process->getCommandLine(),
              $process->getOutput(),
              $process->getErrorOutput()
          );
      }
code: public static function createFromProcess($message, Process $process)
      {
          return new static(
              \sprintf('%s [%s]', $message, $process->getCommandLine()) .
              PHP_EOL . \sprintf('work dir: %s', $process->getWorkingDirectory()) .
              PHP_EOL . $process->getErrorOutput(),
              $process->getWorkingDirectory(),
              $process->getCommandLine(),
              $process->getOutput(),
              $process->getErrorOutput()
          );
      }
code_tokens: public static function createFromProcess ( $ message , Process $ process ) { return new static ( \ sprintf ( '%s [%s]' , $ message , $ process -> getCommandLine ( ) ) . PHP_EOL . \ sprintf ( 'work dir: %s' , $ process -> getWorkingDirectory ( ) ) . PHP_EOL . $ process -> getErrorOutput ( ) , $ process -> getWorkingDirectory ( ) , $ process -> getCommandLine ( ) , $ process -> getOutput ( ) , $ process -> getErrorOutput ( ) ) ; }
docstring: Create new exception from process.
  
  @param string  $message The message to use.
  
  @param Process $process The process to create the message from.
  
  @return static
docstring_tokens: Create new exception from process .