/executer

calls an external program with parameters specified in a file

Primary LanguageCGNU General Public License v3.0GPL-3.0

Calls another executable with parameters specified in a file

Building on Linux

This project uses Cmake build system. On Linux, simply type:

cmake .
make

The resulting executable will be called caller

Building on Windows

See http://www.cmake.org/cmake/help/runningcmake.html

Usage:

  1. Put caller.exe to the file the other executable is located

  2. Create a file called command.txt in the same directory

  3. In command.txt, put the other executable's name followed by it's parameters. For example:

     game.exe -fullscreen
    
  4. Run caller.exe

This program was originally written for use with Gameranger, as it does not allow to execute a game with arguments.

http://stackoverflow.com/questions/20773952/run-a-exe-file-with-a-parameter-by-default/20773968#20773968