 	private func deletePid() {
 		
 	#if swift(>=3)
-		
+	#if os(Linux)
+		if(NSFileManager.defaultManager().fileExists(atPath: pidFile)) {
+			
+			do {
+				
+				try NSFileManager.defaultManager().removeItem(atPath: pidFile)
+			} catch _ {
+				
+				logger.writeLog(level: Logger.LogLevels.ERROR, message: "Could not delete pid file!")
+			}
+		}else{
+			
+			logger.writeLog(level: Logger.LogLevels.WARNINGS, message: "Pid file does not exists!")
+		}
+	#else
 		if(FileManager.default().fileExists(atPath: pidFile)) {
 			
 			do {
-		
+			
 				try FileManager.default().removeItem(atPath: pidFile)
 			} catch _ {
 				
-				
 				logger.writeLog(level: Logger.LogLevels.ERROR, message: "Could not delete pid file!")
 			}
 		}else{
 			
-			
 			logger.writeLog(level: Logger.LogLevels.WARNINGS, message: "Pid file does not exists!")
 		}
+	#endif
 	#elseif swift(>=2.2) && os(OSX)
 
 		if(NSFileManager.defaultManager().fileExistsAtPath(pidFile)) {
-			
+		
 			do {
 
 				try NSFileManager.defaultManager().removeItemAtPath(pidFile)

			
			
		} while (running && runLoop.run(mode: RunLoopMode.defaultRunLoopMode, before: Date().addingTimeInterval(-1 * Constants.CpuSleepMsec)))
		
		
		logger.writeLog(level: Logger.LogLevels.WARNINGS, message: "Child process will be stop \(running)")
	#else

				
				cArgs[6] = UnsafeMutablePointer<CChar>(nil)!
				
			#if os(Linux)
				var environments = NSProcessInfo().environment
			#else
				var environments = ProcessInfo().environment
			#endif
				environments["IO_RUNNER_SN"] = "child-start"
				let cEnv = UnsafeMutablePointer<maybeCChar?>(allocatingCapacity: environments.count + 1)
				
