def start(self):
try:<EOL><INDENT>os.fstat(self.targetfd_save)<EOL><DEDENT>except (AttributeError, OSError):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>os.dup2(self.tmpfile_fd, self.targetfd)<EOL>self.syscapture.start()<EOL>
Start capturing on targetfd using memorized tmpfile.