[Bug 907905] Re: php5-cli scripts not running in background, stays stopped.
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: php5 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/907905 Title: php5-cli scripts not running in background, stays stopped. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/907905/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 907905] Re: php5-cli scripts not running in background, stays stopped.
Caused by the readline module and cannot be avoided. From http://php.net/manual/en/book.readline.php : When readline is enabled, php switches the terminal mode to accept line-buffered input. This means that the proper way to use the cli when you pipe to an interactive command is to explicitly specify that php is not using the terminal for input: php somescript.php /dev/null | less ** Changed in: php5 (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/907905 Title: php5-cli scripts not running in background, stays stopped. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/907905/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 907905] Re: php5-cli scripts not running in background, stays stopped.
Thank you for taking the time to report this bug and helping to make Ubuntu better. I agree that I would expect a Unix application to continue writing its output even when started in the background. But I am not sure whether what you are seeing is expected behaviour for a PHP application or not. I'm setting this to Importance: Low as per https://wiki.ubuntu.com/Bugs/Importance as this is an unusual configuration unlikely to affect many people. Before developers can look at this, we need to know whether this is a problem in Ubuntu's packaging of PHP or a problem with PHP itself. If the bug is definitely in PHP itself, then the best thing to do would be to file a bug with upstream directly at https://bugs.php.net/ and then that bug can be linked to from here. Are you able to determine the answer to this question? I suggest that you might start by building PHP directly from the upstream source and see if you can still reproduce the issue. ** Changed in: php5 (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/907905 Title: php5-cli scripts not running in background, stays stopped. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/907905/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 907905] Re: php5-cli scripts not running in background, stays stopped.
I have 2 built PHP versions from sources and I cannot reproduce this issue, they run in background. ~$ /opt/php5_2/bin/php -v PHP 5.2.11 (cli) (built: Dec 15 2009 18:21:33) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies ~$ /opt/php5_3/bin/php -v PHP 5.3.1 (cli) (built: Dec 15 2009 17:51:46) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies Hope this helps. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/907905 Title: php5-cli scripts not running in background, stays stopped. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/907905/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 907905] Re: php5-cli scripts not running in background, stays stopped.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/907905 Title: php5-cli scripts not running in background, stays stopped. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/907905/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs