#18711 [NEW]: PHP script will exit on ouput to non-existent SSH session
| From: | dodo at fuckmicrosoft dot com | Date: | Fri, 02 Aug 2002 19:09:14 +0000 |
| Subject: | #18711 [NEW]: PHP script will exit on ouput to non-existent SSH session | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15856@lists.php.net to get a copy of this message | ||
From: dodo@fuckmicrosoft.com
Operating system: freeBSD 4.5
PHP version: 4.2.1
PHP Bug Type: *General Issues
Bug description: PHP script will exit on ouput to non-existent SSH session
I run a shell scrypt wich adds accounts for me, when I start the
shellsscript:
./myscript &
#!/usr/local/bin/php -q
while(1) {
// adduser stuff
sleep(10);
}
when I start it it perfectly runs and works, but when I close the SSH
session and come back later [when the script has outputted stuff to a non
existent SSH session [where I started the script from]] the process is
gone...
freeBSD 4.5
PHP 4.2.1
compile: ./configure --with-mysql --with-apxs=/www/bin/apxs
--
Edit bug report at http://bugs.php.net/?id=18711&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18711&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18711&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18711&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18711&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18711&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18711&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18711&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18711&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18711&r=globals