Skip to content

Commit

Permalink
Forcing stdin, stdout and stderr to be unbuffered and binary. Solves a…
Browse files Browse the repository at this point in the history
  • Loading branch information
ffissore committed Dec 23, 2013
1 parent 062fa69 commit a877a08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion trunk/package/linino/yun-scripts/files/usr/bin/kill-bridge
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

PID=`/usr/bin/pgrep -f "python bridge.py"`
PID=`/usr/bin/pgrep -f "python -u bridge.py"`
if [ "x$PID" != "x" ]; then
/bin/kill -9 $PID
fi
Expand Down
2 changes: 1 addition & 1 deletion trunk/package/linino/yun-scripts/files/usr/bin/run-bridge
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

cd /usr/lib/python2.7/bridge

exec python bridge.py 2> /tmp/bridge.py-stderr.log
exec python -u bridge.py 2> /tmp/bridge.py-stderr.log

0 comments on commit a877a08

Please sign in to comment.