flatpak-builder and stdin input
John Stebbins
stebbins at jetheaddev.com
Fri Jun 22 14:36:41 UTC 2018
On 06/21/2018 01:51 PM, Dan Nicholson wrote:
> On Thu, Jun 21, 2018 at 3:38 PM, John Stebbins
> <JohnAStebbins at jetheaddev.com> wrote:
>> I'm creating a flatpak bundle for an application that runs a script during it's build process which queries for a
>> response using the bash "read" command. "read" returns immediately without any input being given causing the script and
>> build to fail. Does someone know why this would happen?
>>
>> I can patch around the issue easily enough, but for future reference I would just like to know what causes this and
>> whether there is a way to allow for user input during the build process.
> I imagine flatpak-builder closes stdin for safety.
I thought that was the most likely cause. Thanks for confirming.
--
John GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01 83F0 49F1 D7B2 60D4 D0F7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20180622/5d071fdf/attachment.sig>
More information about the Flatpak
mailing list