about summary refs log tree commit diff stats
path: root/popen2.c
Commit message (Collapse)AuthorAgeFilesLines
* pcoin_keys fixedlogin2021-10-171-0/+135
Thanks to ~jmjl, I was able to find that pcoin_keys didn't work. To fix it, tcoin uses sneaky magic but with stdin isntead of an argument, and a new library imported called popen2, that lets me send both stdin and receive stdout, to successfully get "ls <path to the pcoin_keys directory>" to work (it execl's another instance of the tcoin comand so that it runs under setuid instead of as the original user who ran it.