src/Pure/Tools/isabelle_process.ML
changeset 28491 c5420429a5aa
parent 28343 7b605b8b7196
child 28498 cb1b43edb5ed
--- a/src/Pure/Tools/isabelle_process.ML	Fri Oct 03 21:06:38 2008 +0200
+++ b/src/Pure/Tools/isabelle_process.ML	Fri Oct 03 21:06:39 2008 +0200
@@ -88,7 +88,7 @@
 
 fun init_message out_stream =
   let
-    val pid = (Markup.pidN, string_of_pid (Posix.ProcEnv.getpid ()));
+    val pid = (Markup.pidN, process_id ());
     val session = (Markup.sessionN, List.last (Session.id ()) handle List.Empty => "unknown");
     val text = message_text Markup.initN [XML.Text (Session.welcome ())];
   in output out_stream (special "A" ^ message_props [pid, session] ^ text ^ special_end) end;