Patch #524008: Fix portability bug on new POSIX hosts

This commit is contained in:
Martin v. Löwis 2002-03-01 13:15:30 +00:00
parent 719cfc4864
commit dcea37026e
1 changed files with 1 additions and 1 deletions

View File

@ -365,6 +365,6 @@ ps(void)
{
char buffer[100];
PyOS_snprintf(buffer, sizeof(buffer),
"ps -l -p %d </dev/null | tail +2l\n", getpid());
"ps -l -p %d </dev/null | sed 1d\n", getpid());
system(buffer);
}