CMS 3D CMS Logo

Classes | Functions
electronStore Namespace Reference

Classes

class  flushfile
 

Functions

def mysystem (command, apply=1)
 

Function Documentation

def electronStore.mysystem (   command,
  apply = 1 
)

Definition at line 34 of file electronStore.py.

References cmsRelvalreport.exit, and edm.print().

Referenced by electronStore.flushfile.write().

34 def mysystem(command,apply=1):
35  print(command)
36  if apply==1: return os.system(command)
37  elif apply==0: return 0
38  else:
39  print('[electronStore.py] UNSUPPORTED ARGUMENT VALUE FOR mysystem(,apply):',apply)
40  exit(1)
41 
42 
43 #============================================
44 # force immediate flushing of stdout
45 #============================================
46 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
def mysystem(command, apply=1)