osproc needs 'import linux' for -d:useClone

This commit is contained in:
Andreas Rumpf 2019-11-07 09:51:15 +01:00
commit 166048da5d

View file

@ -27,6 +27,9 @@ when defined(windows):
else: else:
import posix import posix
when defined(linux) and defined(useClone):
import linux
type type
ProcessOption* = enum ## Options that can be passed to `startProcess proc ProcessOption* = enum ## Options that can be passed to `startProcess proc
## <#startProcess,string,string,openArray[string],StringTableRef,set[ProcessOption]>`_. ## <#startProcess,string,string,openArray[string],StringTableRef,set[ProcessOption]>`_.