Ignore:
Timestamp:
Oct 22, 2018 4:22:55 PM (5 years ago)
Author:
knoop
Message:

palmrun: added _stdout monitoring file and output filter for "STOP 1" in batch mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r3346 r3393  
    22512251    printf "\n      \"$execute_command\" \n\n"
    22522252
    2253     $execute_command  <  coupling_steering
    2254 
    2255     if [[ ${PIPESTATUS[0]} != 0 ]]
     2253
     2254    if [[ $progress_bar_disabled = true ]]
     2255    then
     2256       $execute_command  <  coupling_steering  &> >(grep -v --line-buffered '^STOP 1$' &> >(tee STDOUT) )
     2257       exit_code=${PIPESTATUS[0]}
     2258    else
     2259       $execute_command  <  coupling_steering  &> >(tee STDOUT)
     2260       exit_code=${PIPESTATUS[0]}
     2261    fi
     2262
     2263    if [[ ${exit_code} != 0 ]]
    22562264    then
    22572265
Note: See TracChangeset for help on using the changeset viewer.