1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

exec: show more details

This commit is contained in:
Steffen Vogel 2019-06-23 17:22:03 +02:00
parent ef1c339433
commit abd8a7d92b

View file

@ -214,10 +214,14 @@ char * exec_print(struct node *n)
struct exec *e = (struct exec *) n->_vd;
char *buf = nullptr;
strcatf(&buf, "format=%s, exec=%s, flush=%s",
strcatf(&buf, "format=%s, exec=%s, shell=%s, flush=%s, #environment=%zu, #arguments=%zu, working_dir=%s",
format_type_name(e->format),
e->command.c_str(),
e->flush ? "yes" : "no"
e->shell ? "yes" : "no",
e->flush ? "yes" : "no",
e->environment.size(),
e->arguments.size(),
e->working_dir.c_str()
);
return buf;