-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/18/2014 10:42 AM, Dave Kleikamp wrote:
> I'm not sure redirecting stdin should suppress the prompt. The -q
> flag does that (or -f). But it shouldn't trap. Looking at the code,
> it does that on purpose, calling abort(). I have no idea why it
> does that and I will fix it.

Interactive prompts should be suppressed when the program is not being
run interactively.  In other words, when stdin is not a tty.

I ran into this problem because I was trying to extend the parted test
suite to include jfs and it just hung waiting for an answer to a
question that a human does not see since it is being run by a script.
 Figuring out which mkfs.xxx variants need a magic flag to do the
right thing is not very nice.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTKGQhAAoJEI5FoCIzSKrw0KIH/j5GvCP1UExySw+lx/wI3XwH
DKkG0ztNrCHfxxf5Aok/Xb4ghZIxCcL88OozO9xSRb5GgdlxvbzNazY/Rub4irxP
kRN0xtAkZqZKuGGB2ej2L3pE9JzyH2m8IOcK7OiMF2wWV5lfMEJzHn7zJgsz0XEu
QEfUQ+4cpwdkCeZdy0U88xgnLmbd0+QkblHBDyhyOiZnheiJt5nhu3Nhe0SfpXJI
hzJlJWt/UdidIKrbYpLrPs1Zg/hNGF+5yyQnw9zpJZMe3BHvuFuEEJ0BbOS+oD/r
W3sUhl9u1oVZZFWuSN9AQwPiJjFHSWXHhgsVvo6h9fiBy0iBxjS8v6Cn4x5hkWo=
=0QTd
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to