If you use Fit, you can try Bob Martin CommandLineFixture . You can use it by creating a simple test table as follows:
| com.objectmentor.fixtures.CommandLineFixture |
| command | C:\dev\myFileImporter.exe -f c:\dev\data\file.txt |
It also has some interesting features, such as the ability to search for stderr / stdout for specific messages, wait for forked processes to complete, etc.
Java, , ( , , ).