Project

General

Profile

Feature #22822

Convert all pre and postscripts to the unquote style to that things don't run out of order

Added by Kenneth Herner 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
06/26/2019
Due date:
% Done:

90%

Estimated time:
Duration:

Description

As we have seen it's possible for pre and postscripts to run out of order, depending on whether the parser detects characters that it thinks it has to convert or not. In particular if you do something like

postscript_1 = some_command $(ls *.root)
postscript_2 = ./foo bar
postscript_3 = ./foo2

What happens is that since postscript_3 doesn't have anything "special" in it, it gets passed along with the --postscript option, while the other two get --postscript-unquote. That has the effect of actually running ./foo2 first, which is bad news if the third postscript depends in some way on the first two. It's probably better to convert everything to --postscript-unquote anyway so that order is preserved. It might make fife_launch take slightly longer than it needs to, but probably not enough for anyone to notice. At any rate, preserving the script order intended in the config file is more important.

History

#1 Updated by Marc Mengel 3 months ago

  • % Done changed from 0 to 90
  • Target version set to v3_3
  • Assignee set to Marc Mengel
  • Status changed from New to Resolved


Also available in: Atom PDF