Changeset 11043 for trunk/FACT++/src/fscctrl.cc
- Timestamp:
- 06/16/11 21:26:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fscctrl.cc
r11034 r11043 516 516 // boost::thread t(boost::bind(&StateMachineFSC<S>::Run, &io_service)); 517 517 518 if (conf.Has("exec")) 519 { 520 const vector<string> v = conf.Get<vector<string>>("exec"); 521 for (vector<string>::const_iterator it=v.begin(); it!=v.end(); it++) 522 shell.Execute(*it); 523 } 524 518 525 shell.Run(); // Run the shell 519 526 io_service.Stop(); // Signal Loop-thread to stop … … 538 545 ("no-dim,d", po_bool(), "Disable dim services") 539 546 ("console,c", var<int>(), "Use console (0=shell, 1=simple buffered, X=simple unbuffered)") 547 ("exec,e", vars<string>(), "Execute one or more scrips at startup") 540 548 ; 541 549
Note:
See TracChangeset
for help on using the changeset viewer.