Re: Second instance

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Windows, I use Thomas Parslow's IPC library to do the job.

  if not ipc_RegisterProcessName("<program name>") then 
    puts(2, "<program name> is already running!\n") 
    abort(1) 
  end if 

Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu