« Previous | Next » 

Revision 17c31e32


Added by Alexander Berl almost 9 years ago

[TASK] Make system call to php binary reliable, especially on Windows

This solves execution of php binary on windows environments with paths
containing whitespace and special characters (like round brackets). On
windows, commands containing white spaces must be quoted, but quoted paths may
not be escaped, which escapeshellcmd() wrongly does.

This is solved by using escapeshellarg() on windows instead and also adds more
verbose exception messages in the case of failure.

Change-Id: Ibc7876a8e98f653afaf0bf8c7a4893e0b808cf23
Resolves: #35916
Releases: 1.1, 1.2

  • added
  • modified
  • copied
  • renamed
  • deleted