Problem 152 - /control/execute does not work
Summary: /control/execute does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: Geant4
Classification: Unclassified
Component: interfaces (show other problems)
Version: 2.0
Hardware: PC Linux
: P2 normal
Assignee: yoshidah
URL:
Depends on:
Blocks:
 
Reported: 2000-08-25 13:13 CEST by Isidro.Gonzalez
Modified: 2000-09-22 03:28 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.