diff options
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/pysvr/pysvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/pysvr/pysvr.c b/Demo/pysvr/pysvr.c index 50a122c..cced6da 100644 --- a/Demo/pysvr/pysvr.c +++ b/Demo/pysvr/pysvr.c @@ -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); } |