Jhack set config fails with redirection (using snap)
Open
- Dominant language
- Python
- Stars
- 60
- Forks
- 31
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 1
Description
### Bug Description
Unable to write to config.toml on fresh snap install of Jhack
### To Reproduce
```
sudo snap install jhack
jhack conf destructive > ~/.config/jhack/config.toml
```
### Environment
Version:
`jhack 0.4.4.0.2 --DEVMODE--`
### Relevant log output
```shell
Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
OSError: [Errno 9] Bad file descriptor
```
### Additional context
`jhack conf destructive | tee ~/.config/jhack/config.toml` works
Contributor guide
Assessment
This issue has not been assessed yet.