Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /refs/heads/main /. /build /check_return_value.py
blob: 2337e962da1ed175e91a23d102f73664a0915e2a [file] [log] [blame] [edit]
#!/usr/bin/env python3
# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""This program wraps an arbitrary command and prints "1" if the command ran
successfully."""
import os
import subprocess
import sys
devnull= open(os.devnull,'wb')
ifnot subprocess.call(sys.argv[1:], stdout=devnull, stderr=devnull):
print(1)
else:
print(0)

[8]ページ先頭

©2009-2025 Movatter.jp