Salome HOME
Merge from BR_DIET
[tools/libbatch.git] / src / Core / Batch_Utils.cxx
index 3b706d2906bf7bb651751cba1f21170f3de98e2c..83b43e3bfce7f692eb854220400d7bce43a18e7b 100644 (file)
@@ -61,4 +61,11 @@ int Utils::getCommandOutput(const string & command, string & output)
   return status;
 }
 
+bool Utils::isAbsolutePath(const string & path)
+{
+  if (path.size() == 0)
+    return false;
+  return path[0] == '/';
+}
+
 }