Back to index

enigmail  1.4.3
pycmd.py
Go to the documentation of this file.
00001 import os, sys
00002 
00003 def writetofile(args):
00004   with open(args[0], 'w') as f:
00005     f.write(' '.join(args[1:]))
00006 
00007 def writeenvtofile(args):
00008   with open(args[0], 'w') as f:
00009     f.write(os.environ[args[1]])
00010 
00011 def asplode(args):
00012   sys.exit(args[0])
00013   return 0