Merge pull request #605 from Lomanic/issue596

Fix #596 Implement process.Background and process.Foreground functions