Possible gfortran bug?

My mistake then. That print statement within join() was commented out, and I thought the error persisted nonetheless.

The previous discussion about a program that hangs, but does not have explicit recursive i/o was here. Execute_command_line problem - #3 by RonShepard That program involved some kind odd interaction between character concatenation operations and the execute_command_line() intrinsic. I don’t think that issue was fully resolved.