Other difference with Perl: Python scripts in a pipe
Jussi Piitulainen
jussi.piitulainen at helsinki.fi
Fri Mar 11 05:15:39 EST 2016
More information about the Python-list mailing list
Fri Mar 11 05:15:39 EST 2016
- Previous message (by thread): Other difference with Perl: Python scripts in a pipe
- Next message (by thread): Other difference with Perl: Python scripts in a pipe
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alan Bawden writes: > Fillmore writes: > >> On 3/10/2016 7:08 PM, INADA Naoki wrote: > ... >> I don't like it. It makes Python not so good for command-line utilities >> > > You can easily restore the standard Unix command-line-friendly behavior > by doing: > > import signal > signal.signal(signal.SIGINT, signal.SIG_DFL) > signal.signal(signal.SIGPIPE, signal.SIG_DFL) Thank you!
- Previous message (by thread): Other difference with Perl: Python scripts in a pipe
- Next message (by thread): Other difference with Perl: Python scripts in a pipe
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list