changeset 526:617da76ae4d9 prerelease

Removed buggy runscreenfifo from Makefile
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 23 Jun 2016 13:28:06 +0100
parents 1ca196e35105
children 1c68ad13bbe4 f299f4383959
files Makefile
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jun 23 13:22:59 2016 +0100
+++ b/Makefile	Thu Jun 23 13:28:06 2016 +0100
@@ -255,14 +255,6 @@
 runscreenfg: stop $(OUTPUT_FILE)
 	@echo "Running $(RUN_COMMAND) in a screen"
 	@cd $(RUN_FROM) && screen -S $(SCREEN_NAME) -m $(RUN_COMMAND)
-FIFO_NAME=/tmp/belafifo
-runscreenfifo: ## Same as runscreen, but stdout and stderr are piped to the foreground through a fifo
-runscreenfifo: stop $(OUTPUT_FILE)
-	@echo "Running $(RUN_COMMAND), piping output to $(FIFO_NAME)"
-	@rm -rf $(FIFO_NAME)
-	@mkfifo $(FIFO_NAME)
-	@cd $(RUN_FROM) && screen -S $(SCREEN_NAME) -d -m stdbuf -e 0 -i 0 -o 0 bash -c "$(RUN_COMMAND) &>  $(FIFO_NAME)"
-	@cat /tmp/belafifo
 
 STARTUP_COMMAND=printf "\#!/bin/sh\n\#\n\# This file is autogenerated by Bela. Do not edit!\n\necho Running Bela...\nscreen -S $(SCREEN_NAME) -d -m %s $(RUN_COMMAND) %s\n"
 nostartup: ## No Bela project runs at startup 
@@ -386,4 +378,4 @@
 	  echo Update succesful $(LOG); \
 	  ' $(LOG)
 
-.PHONY: all clean distclean help projectclean nostartup startup startuploop debug run runfg runscreen runscreenfg runscreenfifo stop idestart idestop idestartup idenostartup ideconnect connect update checkupdate updateunsafe
+.PHONY: all clean distclean help projectclean nostartup startup startuploop debug run runfg runscreen runscreenfg stop idestart idestop idestartup idenostartup ideconnect connect update checkupdate updateunsafe