Lines Matching refs:args
150 args = []
153 args.append('sudo')
154 args.extend([
158 self._proc = subprocess.Popen(args, stdout=cout, stderr=cerr,
186 def __init__(self, args: List[str], exit_code: int,
193 self._args = args
237 def args(self) -> List[str]: member in ExecResult
747 def run_direct(self, args, with_stats: bool = False, with_profile: bool = False): argument
756 my_args.extend(args)
757 return self._run(args=my_args, with_stats=with_stats, with_profile=with_profile)
759 def _run(self, args, intext='', with_stats: bool = False, argument
777 p = subprocess.Popen(args, stderr=cerr, stdout=cout,
791 raise subprocess.TimeoutExpired(cmd=args, timeout=self._timeout)
798 p = subprocess.run(args, stderr=cerr, stdout=cout,
815 return ExecResult(args=args, exit_code=exitcode, exception=exception,
829 args = self._complete_args(
833 r = self._run(args, intext=intext, with_stats=with_stats,
847 args = [self._curl, "-s", "--path-as-is"]
849 args.append('--test-event')
852 args.extend(["-D", self._headerfile])
854 args.extend(['-v', '--trace-ids', '--trace-time'])
856 args.extend(['--trace-config', 'http/2,http/3,h2-proxy,h1-proxy'])
865 args.extend(options)
869 args.append(self.ALPN_ARG[alpn_proto])
874 args.append('--insecure')
878 args.extend(["--cacert", self.env.ca.cert_file])
883 args.extend([
887 args.extend(["--connect-timeout", str(int(timeout))])
888 args.append(url)
889 return args
894 r = ExecResult(args=[], exit_code=0, stdout=[], stderr=[])