… | |
… | |
1412 | * the slave. |
1412 | * the slave. |
1413 | */ |
1413 | */ |
1414 | void |
1414 | void |
1415 | rxvt_term::run_command (const char *const *argv) |
1415 | rxvt_term::run_command (const char *const *argv) |
1416 | { |
1416 | { |
|
|
1417 | TEMP_ENV; // not very temporary... |
|
|
1418 | |
1417 | #if ENABLE_FRILLS |
1419 | #if ENABLE_FRILLS |
1418 | if (rs[Rs_pty_fd]) |
1420 | if (rs[Rs_pty_fd]) |
1419 | { |
1421 | { |
1420 | pty.pty = atoi (rs[Rs_pty_fd]); |
1422 | pty.pty = atoi (rs[Rs_pty_fd]); |
1421 | |
1423 | |
… | |
… | |
1532 | */ |
1534 | */ |
1533 | int |
1535 | int |
1534 | rxvt_term::run_child (const char *const *argv) |
1536 | rxvt_term::run_child (const char *const *argv) |
1535 | { |
1537 | { |
1536 | char *login; |
1538 | char *login; |
1537 | |
|
|
1538 | TEMP_ENV; // not very temporary... |
|
|
1539 | |
1539 | |
1540 | SET_TTYMODE (STDIN_FILENO, &tio); /* init terminal attributes */ |
1540 | SET_TTYMODE (STDIN_FILENO, &tio); /* init terminal attributes */ |
1541 | |
1541 | |
1542 | if (OPTION (Opt_console)) |
1542 | if (OPTION (Opt_console)) |
1543 | { /* be virtual console, fail silently */ |
1543 | { /* be virtual console, fail silently */ |