You can always just ccall fork. Not portable but it should work.

On Sunday, January 10, 2016, Thomas S Hatch <[email protected]> wrote:

> Thank you for the confirmation. One valid point in the Linux world is that
> is daemons are being started via systemd there is little need for the old
> pid fork anyway as systemd  manages the process regardless and can be
> started with the right mode.
> With that said, I will simply not bother with daemonization  in Julia at
> all, and adopt a policy of "it is no longer really needed" thanks!
> On Jan 9, 2016 23:08, "Isaiah Norton" <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>> Am I correct in this assumption and I just need to wait for Julia to be
>>> able to fork()? Or have I missed something in the documentation?
>>
>>
>> Yes, see https://github.com/JuliaLang/julia/issues/8295
>> and https://github.com/JuliaLang/julia/issues/985#issuecomment-54837219
>>
>> On Sat, Jan 9, 2016 at 11:34 PM, Thomas Hatch <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>>> As far as I can tell you can't fork a process in Julia yet, which would
>>> preclude one from doing a Unix double pid fork to daemonize a process.
>>>
>>> Am I correct in this assumption and I just need to wait for Julia to be
>>> able to fork()? Or have I missed something in the documentation?
>>>
>>> Thanks, and you may hear me say this a few more times, but I think Julia
>>> is the absolute, most fantastic language out there!
>>>
>>
>>

Reply via email to