Problem 152

Summary: /control/execute does not work
Product: Geant4 Reporter: Isidro.Gonzalez
Component: interfacesAssignee: yoshidah
Status: RESOLVED WORKSFORME    
Severity: normal CC: Ivana.Hrivnacova
Priority: P2    
Version: 2.0   
Hardware: PC   
OS: Linux   

Description Isidro.Gonzalez 2000-08-25 13:13:59 CEST
When I try to run a macro with '/control/execute mymacro.mac', it will only
output the commented lines and do nothing. None of the commands in the macro
file is executed. It might be related to the method:

	void G4UImanager::ExecuteMacroFile(G4String fileName)

but I am not sure. I have G4.2.0_ref01 compiled with most of the UI and Vis.
drivers. But I have tested it both with code that uses all or none of them.
Comment 1 Gabriele Cosmo 2000-09-22 03:28:59 CEST
Could you provide us with the macro-file you use to generate this
behavior?  The command "/control/execute <macro-file>" is rather heavily
used when running in interactive-mode, for us it works just fine and could
not reproduce the problem.