diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-09-23 23:23:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-09-23 23:23:36 +0000 |
commit | bb0a6126cf1372e3ba90f0f6ff16f7f4d0381105 (patch) | |
tree | d0cb7d2de894a45f4bcccb5a5fb7bf5f4c7a88ce /include/llvm | |
parent | b5b7c96ce4e120297304e5cef5b4b0af8e9e8691 (diff) | |
download | external_llvm-bb0a6126cf1372e3ba90f0f6ff16f7f4d0381105.zip external_llvm-bb0a6126cf1372e3ba90f0f6ff16f7f4d0381105.tar.gz external_llvm-bb0a6126cf1372e3ba90f0f6ff16f7f4d0381105.tar.bz2 |
sys::Process: Add a SetWorkingDirectory method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Support/Process.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/Process.h b/include/llvm/Support/Process.h index 3379922..27ef267 100644 --- a/include/llvm/Support/Process.h +++ b/include/llvm/Support/Process.h @@ -138,6 +138,9 @@ namespace sys { /// Resets the terminals colors, or returns an escape sequence to do so. static const char *ResetColor(); + + /// Change the program working directory to that given by \arg Path. + static void SetWorkingDirectory(std::string Path); /// @} }; } |