[TxMt] Re: Starting a background process from a command

Allan Odgaard mailinglist at textmate.org
Thu Nov 4 15:21:51 UTC 2010


On 4 Nov 2010, at 14:30, Daniel Grady wrote:

> Hi everyone, I'm trying to write a TM command that will set up some  
> FIFOs, launch a process connected to those, and then the command  
> will exit [...] when I try to implement this inside a TM command,  
> the command doesn't exit until the launched process also exits.

This is because TextMate will wait till your process close stdout/error.

We have a ruby wrapper for this (which catch exceptions), for more  
info: http://wiki.macromates.com/HowTo/RunCommandInBackground




More information about the textmate mailing list