Repository navigation
Commit 769e3db
authored
fix: normalize and replace line separator in node task lock file (#19092)
Normalizes and replaces line separators potentially present in the process
command line before writing the lock file, so that it will contain only two
lines. Same normalization is applied when getting the command line for the
process identified by the pid in the lock file before comparing it with
the value stored in the lock file.
Fixes #190911 parent 73ddf02 commit 769e3db
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
450 | 455 | | |
451 | 456 | | |
452 | 457 | | |
| |||
0 commit comments