bugfix: 12:08:07 ERR [Request] [tid:d7dd1425], padlocal grpc request failed: 1, error: Error: 2 UNKNOWN: [tid:d7dd1425] wechat bad request error
- config
PUPPET_USE_WECHAT4U = false
in./src/settings.ts
. - config
PUPPET_USE_PADLOCAL = false
in./src/settings.ts
.
- config
PUPPET_USE_WECHAT4U = true
in./src/settings.ts
. - config
PUPPET_USE_PADLOCAL = false
in./src/settings.ts
.
- config
PUPPET_USE_WECHAT4U = false
in./src/settings.ts
. - config
PUPPET_USE_PADLOCAL = true
in./src/settings.ts
. - config the TOKEN in
.env
(following the.env.sample
).
sudo npm i -g yarn ts-node
yarn
ts-node ./src/demo.ts
import {exec, execSync} from 'child_process'
# sync way
execSync('python xxx.py')
# async way
exec('python xxx.py')