legion_cp -localsrc test1_in ./test2_in
- copy local Unix file “test1_in” to basic file “test2_in” in current Legion context
legion_run -v test2 10
- Note that no -IN or -OUT are necessary because files manipulated are in Legion space.
- test2 specifies name of Legion class to run.
- 10 specifies an argument to the test2 program - the # of seconds to sleep before exiting.
- Outcome: Basic file test2_in copied to new basic file test2_out - use legion_cat test2_out to view it.