began for maemo
[xscreensaver] / xscreensaver / driver / exec.h
1 /* exec.c --- executes a program in *this* pid, without an intervening process.
2  * xscreensaver, Copyright (c) 1991-2006 Jamie Zawinski <jwz@jwz.org>
3  *
4  * Permission to use, copy, modify, distribute, and sell this software and its
5  * documentation for any purpose is hereby granted without fee, provided that
6  * the above copyright notice appear in all copies and that both that
7  * copyright notice and this permission notice appear in supporting
8  * documentation.  No representations are made about the suitability of this
9  * software for any purpose.  It is provided "as is" without express or 
10  * implied warranty.
11  */
12
13 #ifndef __XSCREENSAVER_EXEC_H__
14 #define __XSCREENSAVER_EXEC_H__
15
16 extern void exec_command (const char *shell, const char *command,
17                           int nice_level);
18
19 extern int on_path_p (const char *program);
20
21 #endif /* __XSCREENSAVER_EXEC_H__ */