Posted to tcl by avl at Sat Apr 22 00:51:45 GMT 2017view raw

  1. % open "|false | true" w+
  2. file5
  3. % pid file5
  4. 24512 24513
  5. % close file5
  6. child process exited abnormally
  7. % set errorCode
  8. CHILDSTATUS 24512 1
  9.  
  10. apparently the first
  11.  
  12. % open "|false | false " w+
  13. file5
  14. % pid file5
  15. 24551 24552
  16. % close file5
  17. child process exited abnormally
  18. % set errorCode
  19. CHILDSTATUS 24552 1
  20.  
  21. here it's the second.