mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										2
									
								
								spawn.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								spawn.c
									
									
									
									
									
								
							@@ -251,7 +251,7 @@ spawn_pane(struct spawn_context *sc, char **cause)
 | 
			
		||||
	 * Now we have a pane with nothing running in it ready for the new
 | 
			
		||||
	 * process. Work out the command and arguments.
 | 
			
		||||
	 */
 | 
			
		||||
	if (sc->argc == 0) {
 | 
			
		||||
	if (sc->argc == 0 && (~sc->flags & SPAWN_RESPAWN)) {
 | 
			
		||||
		cmd = options_get_string(s->options, "default-command");
 | 
			
		||||
		if (cmd != NULL && *cmd != '\0') {
 | 
			
		||||
			argc = 1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user