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:
parent
ef1c339433
commit
abd8a7d92b
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue