blob: 0ca16b0dfdde0a9f56fd099a04f695f14ce271c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* 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;
* }
*/
|