|
|
 |
| call other programs and tools from within a FlexX session or script |
FlexX/S and FTrees allow you to temporarily escape to your operating system. This can be convenient, for example, to zip or unzip input or output files. Also your custom analysis program or more complicated scripted tasks can be executed from within Flex*/FTrees. The shell escape is invoked with an exclamation mark "!" at the FlexX/S and FTrees command lines. Under Windows, you could for example type " ! cmd " to obtain the operating system's prompt for further processing. Under Linux, a "! myscript.sh " would run myscript.sh to perform a specific task. The most complicated pipelining becomes a simple task using the shell escape plus your custom programs. An Excel call under FlexX for Windows would look as simple as this:
FLEXX> ! "c:\programme\Microsoft Office\Office10\EXCEL.EXE"
(Note the double quotes for arguments containing blanks!). On closing Excel again, the FlexX prompt will return. If you would like Flex*/FTrees to continue their work and have the external programs run in the background, then this is possible simply by means of the ampersand sign "&" in Unix/Linux environments or the cygwin shell under Windows.
|
|
 |
© BioSolveIT GmbH, 2012 |
Last modified Thursday, 02. Feb 2012 23:19 CET by WebMaster |
|