2 * vim:ts=4:sw=4:expandtab
4 * i3bar - an xcb-based status- and ws-bar for i3
5 * © 2010-2011 Axel Wagner and contributors (see also: LICENSE)
7 * child.c: Getting Input for the statusline
13 #define STDIN_CHUNK_SIZE 1024
16 * Start a child-process with the specified command and reroute stdin.
17 * We actually start a $SHELL to execute the command so we don't have to care
18 * about arguments and such
21 void start_child(char *command);
24 * kill()s the child-prozess (if existend) and closes and
25 * free()s the stdin- and sigchild-watchers
31 * Sends a SIGSTOP to the child-process (if existent)
37 * Sends a SIGCONT to the child-process (if existent)