Virgile Robles
Virgile Robles
I have at least one use case where I want to completely detach a background process, i.e. use a feather script as a "lancher" for a long-term background application. Currently...
Nice idea ! The situation is like this in `Base` and `Stdlib` because apparently the implementation tests if a file already exists with a given name by directly creating it....
Some leads about pre-made solutions: - ocaml-glob (https://github.com/andrenth/ocaml-glob) : very old, may need to be revived. Wrapper around glob(3) so should be portable, and directly works on file system paths....
Actually there are two other solutions that I didn't come across until now, that are probably better (and on opam): - `path_glob` (https://gitlab.com/gasche/path_glob), an up to date and documented library...
Thanks for the answer ! > dune-glob would be nice except except its semantics for `**` are weird, no? > > > `**` matches any character that is not `.`...
For the interface, I'm thinking of another way that may be more practical for both us and the users: do not expand the glob operators until the pipeline is run...
I had the same need and wrote a [small PPX rewriter](https://github.com/Firobe/ocaml-stdint-literals) to do just that
Thanks for making this PR ! This is a detail but shouldn't the file be in XDG_STATE_HOME instead of XDG_CACHE_HOME ? At least that's what the specification (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) mentions.
> Is there no way for you to instead make the dummy binary output nothing on stdout instead? The binary is out of my control in this case, but if...
The warning seems to be triggered in more parts of the codebase than what you changed (see the CI) :)