Date: Wed, 23 Jul 2025 15:06:38 +0200
> On 22 Jul 2025, at 12:40, Jan Schultke via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> I'm cooking up a draft for a proposal:
> https://gist.github.com/Eisenwave/78d6127b73c6c9a1bc4cb55ad7bf249c
>
> In short, the goal is for "int main(int, const char**)" and some other
> signatures to be permitted.
It reminds me that C++ does not have a type for process streams, which would work like the POSIX function “system”, but with the input and output tied to the type like on std::fstream, and not the standard streams. This is sort of the reverse, because one should be able to specify arguments and environment to the created process.
>
> I'm cooking up a draft for a proposal:
> https://gist.github.com/Eisenwave/78d6127b73c6c9a1bc4cb55ad7bf249c
>
> In short, the goal is for "int main(int, const char**)" and some other
> signatures to be permitted.
It reminds me that C++ does not have a type for process streams, which would work like the POSIX function “system”, but with the input and output tied to the type like on std::fstream, and not the standard streams. This is sort of the reverse, because one should be able to specify arguments and environment to the created process.
Received on 2025-07-23 13:09:15