Lines Matching +full:- +full:- +full:quiet
2 # Use of this source code is governed by a BSD-style license that can be
23 ssh_port: int, ssh_user: str) -> None:
28 # TODO: move ssh-related code to SshPlatformMixin
35 def name(self) -> str:
39 def host(self) -> str:
43 def port(self) -> int:
47 def ssh_user(self) -> str:
51 def ssh_port(self) -> int:
54 def _build_ssh_cmd(self, *args: CmdArg, shell=False) -> ListCmdArgs:
56 "ssh", "-p", f"{self._ssh_port}", f"{self._ssh_user}@{self._host}"
67 quiet: bool = False,
70 check: bool = True) -> bytes:
73 *ssh_cmd, quiet=quiet, stdin=stdin, env=env, check=check)
83 quiet: bool = False,
84 check: bool = True) -> subprocess.CompletedProcess:
93 quiet=quiet,
98 bufsize=-1,
104 quiet: bool = False) -> subprocess.Popen:
114 quiet=quiet)
117 attrs: Optional[List[str]] = None) -> List[Dict[str, Any]]:
120 lines = self.sh_stdout("ps", "-A", "-o", "pid,cmd").splitlines()
130 def push(self, from_path: LocalPath, to_path: AnyPath) -> AnyPath:
132 "scp", "-P", f"{self._ssh_port}", f"{from_path}",
138 def pull(self, from_path: AnyPath, to_path: LocalPath) -> LocalPath:
140 "scp", "-P", f"{self._ssh_port}",