Modify ↓
      
        #1421 closed defect (wontfix)
plugin should work in chroot environments where there is no /bin/sh
| Reported by: | anonymous | Owned by: | Alec Thomas | 
|---|---|---|---|
| Priority: | normal | Component: | PageToPdfPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.10 | 
Description
os.system requires /bin/sh which may not be available in some chroot environments. os.spawnlp can be used instead to provide more compatibility, since it does not require /bin/sh. Also this change should result in less overhead since a shell doesn't need to be forked first before htmldoc. I attached a simple patch (what I am using). I made the patch just a 1 line change so it would likely apply fine to later releases, however if integrating it into the code base some other argument references should probably be removed above.
Attachments (1)
Change History (3)
Changed 19 years ago by
| Attachment: | pagetopdfplugin-0.10-work-without-shell.patch added | 
|---|
comment:1 Changed 13 years ago by
| Resolution: | → wontfix | 
|---|---|
| Status: | new → closed | 
comment:2 Changed 13 years ago by
Note: See
        TracTickets for help on using
        tickets.
    


Deprecated, please see the TracWikiToPdfPlugin.