(use-modules (ice-9 popen) (ice-9 rdelim)) (let ((in (open-pipe* OPEN_READ "head" "-c" "8b" "/dev/random"))) (call-with-output-file "/tmp/where" (lambda (out) (display (read-line in) out))) (close-pipe in))