From 50bfb6881a86b7621c6a9d0d18d27e6c6dd7e432 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 27 May 2014 21:23:33 -0400 Subject: [PATCH] Context - Captures argv[0] for us in the shadow command. --- src/Context.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Context.cpp b/src/Context.cpp index 83a5ea448..99b72311d 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -103,6 +103,7 @@ int Context::initialize (int argc, const char** argv) assumeLocations (); // Initialize the command line parser. + program = argv[0]; parser.initialize (argc, argv); // task arg0 arg1 ... // echo one two -- three | task zero --> task zero one two