tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

argcapture.py (352B)


      1 #!/usr/bin/env python3
      2 # Copyright 2021 The Chromium Authors
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 """Writes arguments to a file."""
      6 
      7 import sys
      8 
      9 
     10 def main():
     11  with open(sys.argv[1], 'w') as f:
     12    f.write('\n'.join(sys.argv[2:]))
     13    f.write('\n')
     14 
     15 
     16 if __name__ == '__main__':
     17  main()