changeset 315:868cfb137fe5 prerelease

make runscreenfifo will now output to stdout
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 19:26:09 +0100
parents 611306d840b3
children 52733b58bdf3
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri May 27 19:00:43 2016 +0100
+++ b/Makefile	Fri May 27 19:26:09 2016 +0100
@@ -185,7 +185,8 @@
 	@echo "Running $(RUN_COMMAND), piping output to $(FIFO_NAME)"
 	@rm -rf $(FIFO_NAME)
 	@mkfifo $(FIFO_NAME)
-	@screen -S $(SCREEN_NAME) -d -m stdbuf -e 0 -i 0 -o 0 bash -c "$(RUN_COMMAND) | tee $(FIFO_NAME)"
+	@screen -S $(SCREEN_NAME) -d -m stdbuf -e 0 -i 0 -o 0 bash -c "$(RUN_COMMAND) &>  $(FIFO_NAME)"
+	@cat /tmp/belafifo
 
 BELA_AUDIO_THREAD_NAME=beaglert-audio 
 stop: