tvheadend/src/spawn.h
2009-03-25 17:46:54 +00:00

28 lines
942 B
C

/*
* Process spawn functions
* Copyright (C) 2008 Andreas Öman
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SPAWN_H
#define SPAWN_H
int spawn_and_store_stdout(const char *prog, char *const argv[], char **outp);
int spawnv(const char *prog, char *const argv[]);
void spawn_reaper(void);
#endif /* SPAWN_H */