mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								#!/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
							 |