blob: 05f0f6a54963f1923286b23a7a6ae3e8aa706bab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* Copyright (c) 2012 Wind River Systems; see
* guts/COPYRIGHT for information.
*
* FILE *popen(const char *command, const char *mode)
* FILE *rc = NULL;
*/
/* on at least some systems, popen() calls fork and exec
* in ways that avoid our usual enforcement of the environment.
*/
pseudo_setupenv();
if (pseudo_get_value("PSEUDO_UNLOAD"))
pseudo_dropenv();
rc = real_popen(command, mode);
/* return rc;
* }
*/
|