Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:prmottajr
bumblebee-3.0
bbrun.h
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bbrun.h of Package bumblebee-3.0
/* * Copyright (C) 2011 Bumblebee Project * Author: Jaron Viƫtor AKA "Thulinma" <jaron@vietors.com> * * This file is part of Bumblebee. * * Bumblebee 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. * * Bumblebee 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 Bumblebee. If not, see <http://www.gnu.org/licenses/>. */ /* * Run command functions for Bumblebee */ #pragma once #include <sys/types.h> /* Forks and runs the given application. */ int bb_run_fork(char** argv, int detached); /// Forks and runs the given application, using an LD_LIBRARY_PATH. pid_t bb_run_fork_ld_redirect(char** argv, char * ldpath, int redirect); /// Forks and runs the given application, waits for a maximum of timeout seconds for process to finish. void bb_run_fork_wait(char** argv, int timeout); /// Returns 1 if a process is currently running, 0 otherwise. int bb_is_running(pid_t proc); /// Stops the running process, if any. void bb_stop(pid_t proc); /// Stops the running process, if any. void bb_stop_wait(pid_t proc); /// Stops all the running processes, if any. void bb_stop_all(void); /// Attempts to run the given application, replacing the current process void bb_run_exec(char ** argv); /// Cancels waiting for processes to finish - use when doing a fast shutdown. void bb_run_stopwaiting(void);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor