Project

General

Profile

Up

_delExe

Remove an executable from the list of available executables.

Prototype :

fun [S S] I

  • S : a category
  • S : an alis

Return : I 0 if success or nil if an error occurs

See also :

_addExe

_startExe

Example :

fun main (arg)=
	_showconsole;
	/* add a new reference */
	_addExe "launch" _checkpack "tests/exe/myexe.exe";
	/* reset and reload the list of availables exe */
	_refreshExe;
	/* display the current list (category 'launch') to the console */
	_fooSList _getExe "launch";
	if arg == 0 then
		/* run the executable without argument */
		_startExe "launch" "myexe" nil
	else
		/* run the executable with argument */
		_startExe "launch" "myexe" "Sin City"
	0;;