mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add a flag to run a background process in a pty as well, not used for
anything yet.
This commit is contained in:
		
							
								
								
									
										2
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								format.c
									
									
									
									
									
								
							@@ -354,7 +354,7 @@ format_job_get(struct format_tree *ft, const char *cmd)
 | 
			
		||||
	if (force || (fj->job == NULL && fj->last != t)) {
 | 
			
		||||
		fj->job = job_run(expanded, NULL,
 | 
			
		||||
		    server_client_get_cwd(ft->client, NULL), format_job_update,
 | 
			
		||||
		    format_job_complete, NULL, fj, JOB_NOWAIT);
 | 
			
		||||
		    format_job_complete, NULL, fj, JOB_NOWAIT, -1, -1);
 | 
			
		||||
		if (fj->job == NULL) {
 | 
			
		||||
			free(fj->out);
 | 
			
		||||
			xasprintf(&fj->out, "<'%s' didn't start>", fj->cmd);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user