Ignore:
Timestamp:
Sep 7, 2006, 10:31:17 AM (18 years ago)
Author:
garonne
Message:

MàJ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tbroadcast/v2/scripts/tbroadcast

    r243 r244  
    2525    print '#   -ignore_cycles        : '
    2626    print '#   -nb=<num_worker>      : Total number of threads'
    27     print '#   -output=<location>    : Output directory to store output files with the form <package>.log'
     27    print '#   -output=<location>    : Output directory to store output files with the form <package>_output.log'
     28    print '#   -error=<location>     : Output directory to store error output with the form <package>_error.log'
    2829    print '#   -print                : Print dependency graph'
    2930    print '#   -test                 : Simulate execution'
     
    3839    local         = False
    3940    ignore_cycles = False
     41    silent        = False
    4042    output        = None
     43    error         = None
    4144    file          = None
    4245    for arg in sys.argv[1:len(sys.argv)]:           
     
    4952             if option == '-output':
    5053                output = string.split(arg,'=')[1]
     54             if option == '-error':
     55                error = string.split(arg,'=')[1]
    5156             if option == '-local':
    5257                 local= True
    5358             if option == '-ignore_cycles':             
    5459                 ignore_cycles = True
     60             if option == '-silent':             
     61                 silent = True
     62                 
    5563             if option == '-help':   
    5664                  usage()
     
    6674              command = arg
    6775
    68     master = Scheduler (num_workers=num_worker, file=file, ignore_cycles=ignore_cycles, local=local, output=output)
     76    master = Scheduler (num_workers=num_worker, file=file, ignore_cycles=ignore_cycles, local=local, output=output, error=error, silent=silent)
    6977    if test:
    7078        master.simulate_execution()
Note: See TracChangeset for help on using the changeset viewer.