diff --git a/linux/run.go b/linux/run.go index 8009d16..e2bb35d 100644 --- a/linux/run.go +++ b/linux/run.go @@ -29,7 +29,7 @@ func NewCommand(options CommandOptions) (*LinuxCommand, error) { func (cmd *LinuxCommand) Run() error { - command := exec.Command(cmd.Options.Shell, "-c", cmd.Options.Command) + command := exec.Command(cmd.Options.Shell, "--rcfile", "testrc", "-c", cmd.Options.Command) command.Dir = cmd.Options.Cwd command.Args = append(command.Args, cmd.Options.Args...)