mirror of https://github.com/containers/podman.git
				
				
				
			--interactive shall keep STDIN attached even when not explicitly called out
Addressing:
    podman run -it -a STDERR --rm alpine /bin/ash
hanging. As we droped stdin as soon as -a was used. Notice this is contrary to
what D-tool does and contrary to what podman help implies:
    podman run --help | grep interact
    --interactive, -i                  Keep STDIN open even if not attached
Signed-off-by: Šimon Lukašík <slukasik@redhat.com>
			
			
This commit is contained in:
		
							parent
							
								
									309f4eb1ef
								
							
						
					
					
						commit
						59f93edacc
					
				|  | @ -96,8 +96,6 @@ func runCmd(c *cli.Context) error { | ||||||
| 			inputStream = nil | 			inputStream = nil | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		inputStream = nil |  | ||||||
| 
 |  | ||||||
| 		attachTo := c.StringSlice("attach") | 		attachTo := c.StringSlice("attach") | ||||||
| 		for _, stream := range attachTo { | 		for _, stream := range attachTo { | ||||||
| 			switch strings.ToLower(stream) { | 			switch strings.ToLower(stream) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue