// shellCommand generates a new shell command from configuration file.
shellCommand generates a new shell command from configuration file.
// shellCommand generates a new shell command from configuration file .
func shellCommand(command config.Cmd) *exec.Cmd {
	cmd := exec.Command(command.Path, command.Args...)
	cmd.Env = command.Env
	cmd.Dir = command.Dir
	cmd.Stderr = os.Stderr
	cmd.Stdin = os.Stdin
	cmd.Stdout = os.Stdout
	return cmd
}
func shellCommand ( command config . Cmd ) * exec . Cmd { cmd := exec . Command ( command . Path , command . Args ... ) cmd . Env = command . Env cmd . Dir = command . Dir cmd . Stderr = os . Stderr cmd . Stdin = os . Stdin cmd . Stdout = os . Stdout return cmd }
shellCommand generates a new shell command from configuration file.
shellCommand generates a new shell command from configuration file .