Skip to content

Commit

Permalink
debug (idaholab#19001)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Oct 21, 2021
1 parent eaf3e21 commit 8c077de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions framework/contrib/hit/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ splitParamValue(const std::string & pv)
int
findParam(int argc, char ** argv)
{
// DEBUG
for (unsigned int i = 0; i < argc; ++i)
std::cerr << "parameter" << i << "\t = " << argv[i] << '\n';

Flags flags(
"hit find [flags] <parameter-pathern> <file>...\n Specify '-' as a file name to accept "
"input from stdin.\n A pattern has the form param[=value] and wildcards (*,?) may be used");
Expand Down
2 changes: 1 addition & 1 deletion test/tests/misc/hit_cli/hit_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
command = [hit] + hit_args
print("Running: ", ' '.join(command))

p = subprocess.Popen(command, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
p = subprocess.Popen(command, shell=False, stdout=subprocess.PIPE)
p.wait()
print("hit returned ", p.returncode)
out = p.communicate()[0]
Expand Down

0 comments on commit 8c077de

Please sign in to comment.