Skip to content

Commit

Permalink
added cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed May 29, 2020
1 parent eb6f286 commit e4e264f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ require('./bootstrap').then(async () => {
const oak = createClient()

const params = []
const instance = spawn(binary, params, { stdio: 'inherit' });
const instance = spawn(binary, params, { stdio: 'inherit', cwd: process.cwd() });

/* call gamemode code */
gamemode(oak)
Expand Down

0 comments on commit e4e264f

Please sign in to comment.