Modify

Opened 18 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

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

Download all attachments as: .zip

Change History (3)

Changed 18 years ago by anonymous

comment:1 Changed 12 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

comment:2 Changed 12 years ago by Ryan J Ollos

Deprecated, please see the TracWikiToPdfPlugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.