30 lines
1.1 KiB
C
30 lines
1.1 KiB
C
|
/*
|
||
|
* launch_process.h
|
||
|
* This file is part of Network-Inador
|
||
|
*
|
||
|
* Copyright (C) 2024 - Félix Arreola Rodríguez
|
||
|
*
|
||
|
* Network-Inador 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 2 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
*
|
||
|
* Network-Inador 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 Network-Inador; if not, write to the Free Software
|
||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||
|
* Boston, MA 02110-1301 USA
|
||
|
*/
|
||
|
|
||
|
#ifndef __LAUNCH_PROCESS_H__
|
||
|
#define __LAUNCH_PROCESS_H__
|
||
|
|
||
|
int launch_process (const char *working_directory, char **argv, char **envp, pid_t *child_pid, int *standard_input, int *standard_output, int *standard_error, int *error);
|
||
|
|
||
|
#endif /* __LAUNCH_PROCESS_H__ */
|
||
|
|