Jump to content

Determine if only one instance is running: Difference between revisions

Line 790:
 
=={{header|Nim}}==
===fcntl based:===
 
<lang nim>import os, posix
 
Line 811 ⟶ 812:
echo "Fin!"</lang>
 
===Unix Domain Socket based:===
 
<lang nim>import options, os, std/monotimes
from net import newSocket, bindUnix
8

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.