mirror of
https://github.com/labwc/labwc.git
synced 2026-04-08 08:21:09 -04:00
Merge 52178e4d77 into 17d6c29037
This commit is contained in:
commit
985f2c4d70
19 changed files with 388 additions and 8 deletions
|
|
@ -2,8 +2,15 @@
|
|||
#ifndef LABWC_SPAWN_H
|
||||
#define LABWC_SPAWN_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/**
|
||||
* set_cloexec - set file descriptor to close on exit
|
||||
* @fd: file descriptor
|
||||
*/
|
||||
bool set_cloexec(int fd);
|
||||
|
||||
/**
|
||||
* spawn_primary_client - execute asynchronously
|
||||
* @command: command to be executed
|
||||
|
|
@ -14,7 +21,7 @@ pid_t spawn_primary_client(const char *command);
|
|||
* spawn_async_no_shell - execute asynchronously
|
||||
* @command: command to be executed
|
||||
*/
|
||||
void spawn_async_no_shell(char const *command);
|
||||
void spawn_async_no_shell(char const *command, int socket_fd);
|
||||
|
||||
/**
|
||||
* spawn_piped - execute asynchronously
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue