Welcome to the chicken scheme pasting service

fd juggling added by evhan on Thu Aug 17 03:56:53 2017

(use posix)
(define 1* (duplicate-fileno 1))                        ; save original stdout
(system "echo 1")
(duplicate-fileno (file-open "/dev/null" open/write) 1) ; redirect stdout to /dev/null
(system "echo 2")
(duplicate-fileno 1* 1)                                 ; restore original stdout
(system "echo 3")

Your annotation:

Enter a new annotation:

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