mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix: pass alias expanded string to sh runner (fixes #201)
i have no idea why it didnt before, it *shouldnt* introduce any problems and fixes this one.
This commit is contained in:
		
							parent
							
								
									2e192be2e1
								
							
						
					
					
						commit
						c13889592f
					
				
							
								
								
									
										4
									
								
								exec.go
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								exec.go
									
									
									
									
									
								
							| @ -101,7 +101,7 @@ func runInput(input string, priv bool) { | ||||
| 					cmdFinish(0, input, priv) | ||||
| 					return | ||||
| 				} | ||||
| 				input, exitCode, cont, err = handleSh(input) | ||||
| 				input, exitCode, cont, err = handleSh(cmdString) | ||||
| 			case "hybridRev": | ||||
| 				_, _, _, err = handleSh(input) | ||||
| 				if err == nil { | ||||
| @ -112,7 +112,7 @@ func runInput(input string, priv bool) { | ||||
| 			case "lua": | ||||
| 				input, exitCode, err = handleLua(cmdString) | ||||
| 			case "sh": | ||||
| 				input, exitCode, cont, err = handleSh(input) | ||||
| 				input, exitCode, cont, err = handleSh(cmdString) | ||||
| 		} | ||||
| 	} else { | ||||
| 		// can only be a string or function so | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user