Re: Read --status-fd with Expect

2013-06-05 Thread Fraser Tweedale
Hi Jack, The argument to --status-fd must be an open file descriptor. Not sure of a way to open a raw file descriptor in expect, but you could use mkfifo(1) and the --status-file argument instead, I think. Regards, Fraser On Wed, Jun 05, 2013 at 11:14:27AM -0700, Jack Bates wrote: > I am worki

Read --status-fd with Expect

2013-06-05 Thread Jack Bates
I am working on non-interactively creating a new subkey, with Expect and --status-fd, but I haven't figured out how to read from --status-fd with Expect: $ expect -c ' spawn gpg --status-fd 3 --edit-key CF11451A9BF0C50DA6B17B5926FB09F7C0D5639E addkey; interact' spawn gpg --status-fd 3 --edit-