mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
if test -z "$LABWC_PID"; then
 | 
						|
	echo "LABWC_PID not set" >&2
 | 
						|
	exit 1
 | 
						|
fi
 | 
						|
 | 
						|
echo "Running with pid $LABWC_PID"
 | 
						|
 | 
						|
# Could add runtime tests here
 | 
						|
 | 
						|
echo "killing labwc"
 | 
						|
kill -s TERM $LABWC_PID
 |