So this is an issue we discussed some in Aspen. I don't think we reached consensus on what to do about it. I'm seeing issues in the paper that Elias is taking but maybe that's due to not seeing that this is a new form?
Anyway my inclination is to add to open issues/help needed or remove altogether. Objections?
// EK: Change signature; system takes a string, not an argument pack
template
int system(Args&&... args)
{
// EK: Change constructor call to taking a path, arguments and something similar to s
// EK: also, a rogue comma at the end
process c(forward(args)...,);
if (!c.valid())
return -1;
c.wait();
return c.exit_code();
}
So this is an issue we discussed some in Aspen. I don't think we reached consensus on what to do about it. I'm seeing issues in the paper that Elias is taking but maybe that's due to not seeing that this is a new form?
Anyway my inclination is to add to open issues/help needed or remove altogether. Objections?
// EK: Change signature; system takes a string, not an argument pack template
int system(Args&&... args)
{
// EK: Change constructor call to taking a path, arguments and something similar to s
// EK: also, a rogue comma at the end
process c(forward(args)...,);
if (!c.valid())
return -1;
c.wait();
return c.exit_code();
}