From: assini AT kamus DOT it (Pasqualino Assini) Subject: getpid() problems 22 Feb 1997 17:02:54 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <330F7939.89F.cygnus.gnu-win32@kamus.it> Reply-To: assini AT kamus DOT it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (WinNT; I) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com I tried the getpid() function under winNT 4.0 using beta 17.1 The problem is that the pid that getpid() returns it's not the same as that shown by the Task Manager. Any suggestion ? By the way, does anyone know how to check if a process with a given pid is alive ? Thanks -- Pasqualino Assini --- Kamus Internet Consulting Email: assini AT kamus DOT it --- Web: http://www.kamus.it/ - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".