diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-16 21:24:21 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-16 21:24:21 -0400 |
commit | 25b69823e6a29e21310ada2961dd4bbe08756f55 (patch) | |
tree | 5b0b5970f1d3510afff41dc9448444dfaed19e3c /indra/llcommon/llprocesslauncher.cpp | |
parent | 65bdb537531141bcfb00163888540624a600a17b (diff) | |
parent | 31edad0a226a14b5b87fe364c629f8450bda567c (diff) |
merge changes for storm-1064
Diffstat (limited to 'indra/llcommon/llprocesslauncher.cpp')
-rw-r--r-- | indra/llcommon/llprocesslauncher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llprocesslauncher.cpp b/indra/llcommon/llprocesslauncher.cpp index 4b0f6b0251..d46188104f 100644 --- a/indra/llcommon/llprocesslauncher.cpp +++ b/indra/llcommon/llprocesslauncher.cpp @@ -103,7 +103,7 @@ int LLProcessLauncher::launch(void) char *args2 = new char[args.size() + 1]; strcpy(args2, args.c_str()); - if( ! CreateProcessA( NULL, args2, NULL, NULL, FALSE, 0, NULL, NULL, &sinfo, &pinfo ) ) + if( ! CreateProcessA( NULL, args2, NULL, NULL, FALSE, 0, NULL, mWorkingDir.c_str(), &sinfo, &pinfo ) ) { // TODO: do better than returning the OS-specific error code on failure... result = GetLastError(); |