Modify

Opened 8 years ago

Closed 2 years ago

Last modified 2 years ago

#1421 closed defect (wontfix)

plugin should work in chroot environments where there is no /bin/sh

Reported by: anonymous Owned by: athomas
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)

pagetopdfplugin-0.10-work-without-shell.patch (904 bytes) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by anonymous

comment:1 Changed 2 years ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

comment:2 Changed 2 years ago by rjollos

Deprecated, please see the TracWikiToPdfPlugin.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.