pungi/pungi
Lubomír Sedlář e6a26571e0 scm: Close stdin of processing command
It is possible the user set a command to run in cloned Git repository,
but that command can ask for additional input. However Pungi will
capture all output, so if there is a prompt, it will never be shown.

In order to prevent confusion ("Did this hang?"), let's send empty
string to stdin of the program. That will cause any possible read to see
EOF immediately, which should cause an error that will then be reported
by Pungi to the user.

It is still possible the program will wait for input if it reads
directly from TTY. However in such case the prompt should hopefully also
be sent to TTY directly, so that possible confusion should be cleared.

JIRA: COMPOSE-3598
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-06-20 09:07:07 +02:00
..
compose_metadata Use $SOURCE_DATE_EPOCH (if set) in discinfo file 2018-10-08 13:33:29 +02:00
ostree Cleanup parsing treefile 2018-11-19 11:59:32 +01:00
phases pkgset: Create arch repos in parallel 2019-06-19 15:42:46 +02:00
wrappers scm: Close stdin of processing command 2019-06-20 09:07:07 +02:00
__init__.py Fix printing version on Python 3 2019-04-04 11:42:19 +02:00
arch.py arch: Drop mapping ppc64 -> ppc64p7 2018-05-16 16:25:58 +02:00
arch_utils.py Whitespace cleanup 2019-05-31 09:14:26 +02:00
checks.py config: Deprecate release_is_layered option 2019-06-06 13:45:49 +02:00
common.py Remove FSF address from copyright headers 2017-03-24 09:24:48 +01:00
compose.py config: Deprecate release_is_layered option 2019-06-06 13:45:49 +02:00
config.py pungi-legacy: expose lorax's --rootfs-size argument 2019-01-14 10:41:37 +01:00
createiso.py Make the Apple/HFS compatibility configurable 2019-02-21 16:11:01 +01:00
dnf_wrapper.py Remove unused imports 2019-05-31 09:05:50 +02:00
gather.py Whitespace fixes 2019-05-31 09:31:01 +02:00
gather_dnf.py Fix tests for DNF 3 2018-07-19 14:22:10 +02:00
graph.py Variant as a lookaside - configuration 2018-04-13 14:14:43 +02:00
ks.py Write package whitelist for each variant 2018-03-08 14:29:23 +01:00
linker.py Add script to orchestrate multiple composes 2019-01-08 09:40:36 +01:00
media_split.py Include phase name in log for some phases 2016-11-23 16:47:22 +08:00
metadata.py config: Deprecate release_is_layered option 2019-06-06 13:45:49 +02:00
multilib_dnf.py Port to Python 3 2017-10-24 15:15:31 +02:00
multilib_yum.py Whitespace cleanup 2019-05-31 09:14:26 +02:00
notifier.py config: Deprecate release_is_layered option 2019-06-06 13:45:49 +02:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py fus: Write solvables to file 2018-10-17 10:14:04 +02:00
profiler.py gather: Print profiling information to stderr 2018-04-25 14:21:09 +02:00
runroot.py runroot: Remove useless argument output_path 2019-05-22 15:10:32 +02:00
util.py util: Resolve HEAD in repos that have a remote 2019-06-19 09:04:01 +02:00