for now (dump daemons output to /dev/null) - need to fix this to use the
session directory This commit was SVN r5090.
Этот коммит содержится в:
родитель
8f248206e3
Коммит
a9e962d0a4
@ -453,7 +453,7 @@ static int orte_pls_bproc_launch_app(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* connect stdout/stderr to a file */
|
/* connect stdout/stderr to a file */
|
||||||
fd = open("/tmp/orte.log", O_CREAT|O_WRONLY|O_TRUNC, 0666);
|
fd = open("/dev/null", O_CREAT|O_WRONLY|O_TRUNC, 0666);
|
||||||
if(fd >= 0) {
|
if(fd >= 0) {
|
||||||
if(fd != 1) {
|
if(fd != 1) {
|
||||||
dup2(fd,1);
|
dup2(fd,1);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user