Welcome to the CHICKEN Scheme pasting service

process hangs added by mario-goulart on Sun Jun 25 15:27:40 2017

(use posix utils extras)

(let ((cmds '("make PLATFORM=linux CHICKEN=$HOME/local/chicken-5.0.0pre1/bin/chicken PREFIX=/tmp/chicken-hang spotless boot-chicken"
               "make PLATFORM=linux CHICKEN=./chicken-boot PREFIX=/tmp/chicken-hang spotless install"
               )))
  (for-each
   (lambda (cmd)
     (let-values (((in out pid) (process (sprintf "~A 2>&1" cmd))))
       (let-values (((pid exit-normal? status) (process-wait pid)))
         (let ((output (read-all in)))
           (close-input-port in)
           (close-output-port out)
           (print output)
           (cons status output)))))
   cmds))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Type in the text below:
             _           _                
 _ __  _ __ | |__   ___ (_)_ __ _____   __
| '_ \| '_ \| '_ \ / _ \| | '_ ` _ \ \ / /
| | | | | | | | | |  __/| | | | | | \ V / 
|_| |_|_| |_|_| |_|\___|/ |_| |_| |_|\_/  
                      |__/                
Visually impaired? Let me spell it for you (wav file) download WAV