XMP misdetects who is in foreground. The parent may be an arbitrary process within the process group and thus does not make sense to compare to. To demonstrate the issue: $ perl -e 'system "perl -e \"system \\\"xmp Dreamer.it\\\"\""' XMP will not print the time status, even though there is no background involved here. The process structure is: $ ps f -o pid,pgrp,pgid,tpgid,command PID PGRP TPGID COMMAND 16095 16095 19847 bash 19847 19847 19847 \_ perl -e system "perl -e \"system \\\"xmp Dreamer.it\\\"\"" 19848 19847 19847 \_ perl -e system "xmp Dreamer.it" 19849 19847 19847 \_ xmp Dreamer.itmaster
parent
a44ab1b201
commit
5b9bb79c00
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue