Skip to content

Commit 0f67d51

Browse files
minor #52316 [Process] remove fixing of legacy bug, when PTS functionality is enabled (a.dmitryuk)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Process] remove fixing of legacy bug, when PTS functionality is enabled | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | | License | MIT The PR drop fixing PHP bug, that was closed in PHP 7.0 Original issues: php/php-src#1588 #16574 Original commit: php/php-src@ff6b309 Commits ------- 03590f1 [Process] remove fixing of legacy bug, when PTS functionality is enabled
2 parents 893329e + 03590f1 commit 0f67d51

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Process/Process.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,6 @@ public function start(callable $callback = null, array $env = [])
332332
// See https://unix.stackexchange.com/questions/71205/background-process-pipe-input
333333
$commandline = '{ ('.$commandline.') <&3 3<&- 3>/dev/null & } 3<&0;';
334334
$commandline .= 'pid=$!; echo $pid >&3; wait $pid 2>/dev/null; code=$?; echo $code >&3; exit $code';
335-
336-
// Workaround for the bug, when PTS functionality is enabled.
337-
// @see : https://bugs.php.net/69442
338-
$ptsWorkaround = fopen(__FILE__, 'r');
339335
}
340336

341337
$envPairs = [];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy