mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			202 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			202 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| ALETH_PATH=$1
 | |
| ALETH_TMP_OUT=$2
 | |
| shift
 | |
| shift
 | |
| 
 | |
| 
 | |
| $ALETH_PATH $@ &> >(tail -n 100000 &> "$ALETH_TMP_OUT") &
 | |
| 
 | |
| PID=$!
 | |
| 
 | |
| function cleanup()
 | |
| {
 | |
| 	kill $PID
 | |
| }
 | |
| 
 | |
| trap cleanup INT TERM
 | |
| 
 | |
| wait $PID
 | |
| 
 |