Search code examples
eiffel

Eiffel: how do I do a system call?


Id like to uncompress a file with bzip2 myFile.bz2 which class do I have to use for that?

I tried to find it into base kernel documentation which made the most sense for me and didn't find it


Solution

  • This works:

        make
            local
                l_env:EXECUTION_ENVIRONMENT
            do
                create l_env
                l_env.system ("bzip2 test.txt")
            end