Salome HOME
projects
/
tools
/
libbatch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge from BR_DIET
[tools/libbatch.git]
/
src
/
Core
/
Batch_Utils.cxx
diff --git
a/src/Core/Batch_Utils.cxx
b/src/Core/Batch_Utils.cxx
index 3b706d2906bf7bb651751cba1f21170f3de98e2c..83b43e3bfce7f692eb854220400d7bce43a18e7b 100644
(file)
--- a/
src/Core/Batch_Utils.cxx
+++ b/
src/Core/Batch_Utils.cxx
@@
-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] == '/';
+}
+
}