button.handlers.tracer.strace

Members

Functions

execute
void execute(BuildContext ctx, const(string)[] args, string workDir, Resources inputs, Resources outputs)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

MIT

Authors

Jason White

Description: The tracer traces system calls to determine inputs and outputs. This is very slow and should only be used as a last resort when there are no other suitable handlers.

FIXME: Implement this using ptrace directly. This will eliminate the dependency on strace, as it is not installed by default. It will also eliminate the small amount of overhead of spawning an extra process.