Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 99c24c7

Browse files
committed
Changed process id method to use getmypid for compatibility with Windows
1 parent f77b6d7 commit 99c24c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JupyterBroker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function send(
7777
);
7878

7979
if (null !== $this->logger) {
80-
$this->logger->debug('Sent message', ['processId' => posix_getpid(), 'message' => $finalMsg]);
80+
$this->logger->debug('Sent message', ['processId' => getmypid(), 'message' => $finalMsg]);
8181
}
8282

8383
$stream->send($finalMsg);

0 commit comments

Comments
 (0)