Run functions in a background process is a small Python module that runs functions in a background process, passing any data they require using fork(). Using fork() means it is efficient to pass megabytes of arguments. When the function returns a completion function is called in the parent process.

Although it uses threads in it's implementation this is mostly hidden from the caller, making it simple and safe to use.


None. Sorry. See the source code.

Coding Standards conforms to PEP8 and has 100% test coverage.

Copyright and License

Backtask-py is copyright © 2014 Russell Stuart. It is licensed under the GNU Affero General Public License.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The copyright holders grant you an additional permission under Section 7 of the GNU Affero General Public License, version 3, exempting you from the requirement in Section 6 of the GNU General Public License, version 3, to accompany Corresponding Source with Installation Information for the Program or any work based on the Program. You are still required to comply with all other Section 6 requirements to provide Corresponding Source.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Downloading, Feedback & Contributing

Development for backtask-py is hosted on Source forge:


Russell Stuart, 2014-06-05