Closed jaredgoldman closed 1 year ago
Yah so the notify is called in the order mode loop: https://github.com/pikers/piker/blob/master/piker/ui/order_mode.py#L1042
and that func can probably also just emit a warning log msg instead of raising when the subproc call fail?
we should probably also try to gather and use any stderr/stdout content in the warning message too.
Ok so digging through trio.run_process()
shows that you can pass stdout/err bool
flags and also avoid the check: bool = False
error raising.
Further the CompletedProcessObject
has all the stdstreams you'l need.
When performing the following steps, Piker fails:
sudo pikerd --tsdb --pdb
piker -l cancel --tl -b binance chart --pdb btcusdt.binance