forked from engineering/cloudservices
change spawn path
parent
9b7b5ee03d
commit
684c6b8d92
|
@ -25,7 +25,7 @@ export default async function storage(client: Client) {
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
await main();
|
await main();
|
||||||
}, 900000); */
|
}, 900000); */
|
||||||
let storageGo = spawn('./storage', []);
|
let storageGo = spawn('../bin/storage', []);
|
||||||
storageGo.stdout.on('data', (data) => client.signale.log(data));
|
storageGo.stdout.on('data', (data) => client.signale.log(data));
|
||||||
storageGo.stderr.on('data', (data) => client.signale.log(data));
|
storageGo.stderr.on('data', (data) => client.signale.log(data));
|
||||||
storageGo.on('exit', (code) => {
|
storageGo.on('exit', (code) => {
|
||||||
|
|
Loading…
Reference in New Issue