guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-c in guile


From: Alex Vong
Subject: Re: C-c in guile
Date: Thu, 02 Mar 2017 00:03:22 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Andy Wingo <address@hidden> writes:

> On Sat 21 Jan 2017 12:55, Alex Vong <address@hidden> writes:
>
>> However, when running the external program "yes" in guile,
>>
>>   $ guile -c '(system* "yes")'
>>
>> We cannot terminate the process by pressing C-c,
>
> Indeed I can reproduce this!
>
>> but we can suspend it by pressing C-z.
>
> I believe the C-z is handled by the shell, not Guile; AFAIU.
>
> I don't know how this should work (mechanics) but I agree with you that
> probably it should!
>
I've just checked, a python equivalence of the above command works:

     $ python -c 'import subprocess; subprocess.call("yes")'

Maybe some ideas can be extracted from it.

> Andy

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]