mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Drop support for popups where the content is provided directly to tmux
(which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can accept multiple arguments to avoid escaping problems (like the other commands).
This commit is contained in:
		@@ -174,7 +174,7 @@ cmd_run_shell_timer(__unused int fd, __unused short events, void* arg)
 | 
			
		||||
	enum cmd_parse_status		 status;
 | 
			
		||||
 | 
			
		||||
	if (cmd != NULL && cdata->shell) {
 | 
			
		||||
		if (job_run(cmd, cdata->s, cdata->cwd, NULL,
 | 
			
		||||
		if (job_run(cmd, 0, NULL, cdata->s, cdata->cwd, NULL,
 | 
			
		||||
		    cmd_run_shell_callback, cmd_run_shell_free, cdata,
 | 
			
		||||
		    cdata->flags, -1, -1) == NULL)
 | 
			
		||||
			cmd_run_shell_free(cdata);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user