hidconsole has to be run in unbuffered mode
This commit is contained in:
parent
67db483b0b
commit
7ada4af31b
|
@ -3,6 +3,7 @@
|
|||
Z=`readlink -f "$0"`
|
||||
LIB=`readlink -f $(dirname "$Z")/../lib`
|
||||
export PYTHONPATH=$LIB
|
||||
export PYTHONUNBUFFERED=yes
|
||||
|
||||
PYTHON=${PYTHON:-`which python python2 python3 | head -n 1`}
|
||||
exec $PYTHON -m hidapi.hidconsole "$@"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python -u
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
Loading…
Reference in New Issue