Googletest export
Remove `status` from our internal Subprocess utility. This facility is unused, so better to just remove it than figure out what its cross-OS semantics should be. PiperOrigin-RevId: 345279290
This commit is contained in:
		@@ -217,7 +217,6 @@ class Subprocess:
 | 
				
			|||||||
      following attributes:
 | 
					      following attributes:
 | 
				
			||||||
        terminated_by_signal   True if and only if the child process has been
 | 
					        terminated_by_signal   True if and only if the child process has been
 | 
				
			||||||
                               terminated by a signal.
 | 
					                               terminated by a signal.
 | 
				
			||||||
        signal                 Sygnal that terminated the child process.
 | 
					 | 
				
			||||||
        exited                 True if and only if the child process exited
 | 
					        exited                 True if and only if the child process exited
 | 
				
			||||||
                               normally.
 | 
					                               normally.
 | 
				
			||||||
        exit_code              The code with which the child process exited.
 | 
					        exit_code              The code with which the child process exited.
 | 
				
			||||||
@@ -292,7 +291,6 @@ class Subprocess:
 | 
				
			|||||||
    if bool(self._return_code & 0x80000000):
 | 
					    if bool(self._return_code & 0x80000000):
 | 
				
			||||||
      self.terminated_by_signal = True
 | 
					      self.terminated_by_signal = True
 | 
				
			||||||
      self.exited = False
 | 
					      self.exited = False
 | 
				
			||||||
      self.signal = (~self._return_code & 0x7fffffff) + 1
 | 
					 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
      self.terminated_by_signal = False
 | 
					      self.terminated_by_signal = False
 | 
				
			||||||
      self.exited = True
 | 
					      self.exited = True
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user