From 2af61e0d7b44c8d32cc1317d577fef28834384b1 Mon Sep 17 00:00:00 2001
From: Andy Cedilnik <andy.cedilnik@kitware.com>
Date: Thu, 22 Jan 2004 11:16:43 -0500
Subject: [PATCH] BUG: If working directory does not exists, exit

---
 ProcessUNIX.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ProcessUNIX.c b/ProcessUNIX.c
index 835173c3..10fa14a1 100644
--- a/ProcessUNIX.c
+++ b/ProcessUNIX.c
@@ -547,6 +547,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
     if(r < 0)
       {
       kwsysProcessCleanup(cp, 1);
+      return;
       }
     }
 
-- 
GitLab