Skip to content

Commit

Permalink
Make "sanic run" always run from the root of the project
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinChartier committed Jul 1, 2019
1 parent 9cd3b7a commit a6068a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/bash_shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func (shell *BashShell) ShellExec(requestedCommand string, args []string) (error
cmd.Stderr = os.Stderr
cmd.Stdin = os.Stdin
cmd.Env = append(os.Environ(), extraShellEnvironmentVars(shell)...)
cmd.Dir = shell.sanicRoot
err = cmd.Start()
if err != nil {
errorCode = 1
Expand Down

0 comments on commit a6068a6

Please sign in to comment.