delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/19/00:03:35

X-Spam-Check-By: sourceware.org
Message-ID: <11681959.post@talk.nabble.com>
Date: Wed, 18 Jul 2007 21:03:11 -0700 (PDT)
From: nanothief <nanothief AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: using external commands in vim causes fork error
MIME-Version: 1.0
X-Nabble-From: nanothief AT gmail DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

When attempting to use an external command in vim (mainly make), I receive
the following error:
:make
sh: fork: Resource temporarily unavailable

shell returned 128
Press ENTER or type command to continue
E40: Can't open errorfile /tmp/v817919/0

However if i use make from outside vim, it works perfectly. Also, if use
:shell from within vim, almost all commands (ie ls, make, fortune, etc) fail
from the same fork error, while only the builtin commands (echo, pwd, cd,
etc) succeed. There is no problem running multiple bash prompts, vim windows
or make commands simultaneously. The problem only occurs when inside vim.

I have found many references to a fork error in past discussions, but in the
ones I found there was no solution relevant to me.

I built vim from the sources supplied from the cygwin installer, using
almost all the features and most of the interfaces (python, tcl, mzscheme,
perl). The cygwin directory is on a NTFS partition. My cygwin variable is
set to nontsec tty binmode. Finally, I have 2gb of ram, and a dual core
intel core 2 6600 processor.

Any help would be greatly appreciated


-- 
View this message in context: http://www.nabble.com/using-external-commands-in-vim-causes-fork-error-tf4108011.html#a11681959
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019