D and AI / dub registry and AI

Julian Fondren julian.fondren at gmail.com
Sun Feb 22 22:57:24 UTC 2026


On Sunday, 22 February 2026 at 19:58:11 UTC, monkyyy wrote:
> I know these functions can filter out error message streams and 
> have 3 steps when c system was 1 step

Phobos's *Shell versions are something like /bash/bash -c "your 
string":
https://github.com/dlang/phobos/blob/master/std/process.d#L2109

```d
const(char)[][3] args;
args[0] = shellPath;
args[1] = shellSwitch;
args[2] = command;
```

C has system() like it has gets()


More information about the Digitalmars-d mailing list