Lines Matching refs:cmd
32 def _run_cmd(cmd): argument
33 res = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
67 cmd = 'unzip -o {} -d {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
69 cmd = 'tar -xvzf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
71 cmd = 'tar -xvf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
72 _run_cmd(cmd)
206 cmd = [npm, 'install', '--registry', args.npm_registry, '--cache', npm_cache_dir]
208 cmd.append('--unsafe-perm')
209 … proc = subprocess.Popen(cmd, cwd=full_code_path, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
246 cmd = 'mv {}/*.mark {}'.format(dest_dir, tmp_dir)
247 _run_cmd(cmd)
284 cmd = '{}/{}'.format(install_dir, script)
288 cmd = '{} --{}={}'.format(cmd, key, arg[key])
290 cmd = '{} --destdir={}'.format(cmd, dest_dir)
291 _run_cmd(cmd)