mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 10:34:18 +00:00
add cwd to default execution
This commit is contained in:
parent
8ff1913438
commit
01ee0f4379
@ -576,6 +576,7 @@ export default class PkgManager {
|
|||||||
await new Promise((resolve, reject) => {
|
await new Promise((resolve, reject) => {
|
||||||
const process = child_process.execFile(manifest.execute, [], {
|
const process = child_process.execFile(manifest.execute, [], {
|
||||||
shell: true,
|
shell: true,
|
||||||
|
cwd: manifest.install_path,
|
||||||
})
|
})
|
||||||
|
|
||||||
process.on("exit", resolve)
|
process.on("exit", resolve)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user