Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=01711359d3b001d5da524daaacb03a51ec37527e
commit 01711359d3b001d5da524daaacb03a51ec37527e Author: bouleetbil <bouleet...@frogdev.info> Date: Mon Jan 3 13:26:16 2011 +0100 *can start an executable diff --git a/frugal-tweak-vala/Makefile b/frugal-tweak-vala/Makefile index 937a1e9..7a8f5c7 100644 --- a/frugal-tweak-vala/Makefile +++ b/frugal-tweak-vala/Makefile @@ -29,15 +29,17 @@ all: daemon terminal browser frugalwaretweak pacmanupdate frugalwaretweak: $(VALAC) --save-temps --define=$(DEBUGFLAG) --pkg gio-2.0 --pkg gtk+-2.0 --pkg gmodule-2.0 --pkg pacman --pkg unique-1.0 --pkg libnotify \ - --pkg libxml-2.0 \ + --pkg libxml-2.0 --pkg posix \ --define=$(INDICATEFLAG) $(INDICATEVALA) \ $(FRUGALTWEAKSOURCES) -o frugalware-tweak2 pacmanupdate: - $(VALAC) --save-temps --define=$(DEBUGFLAG) --pkg gio-2.0 --pkg gtk+-2.0 --pkg gmodule-2.0 --pkg pacman $(PACMANUPDATESOURCES) -o frugalware-tweak-pacman-update + $(VALAC) --save-temps --define=$(DEBUGFLAG) --pkg gio-2.0 --pkg gtk+-2.0 --pkg gmodule-2.0 --pkg pacman \ + --pkg posix \ + $(PACMANUPDATESOURCES) -o frugalware-tweak-pacman-update daemon: - $(VALAC) --save-temps --define=$(DEBUGFLAG) --pkg pacman --pkg gio-2.0 $(DAEMONSOURCES) -o frugalware-tweak-daemon + $(VALAC) --save-temps --define=$(DEBUGFLAG) --pkg pacman --pkg gio-2.0 --pkg posix $(DAEMONSOURCES) -o frugalware-tweak-daemon terminal: $(VALAC) --save-temps --define=$(DEBUGFLAG) --pkg vte $(TERMINALSOURCES) -o frugalware-tweak-terminal diff --git a/frugal-tweak-vala/src/tools.vala b/frugal-tweak-vala/src/tools.vala index 3d20fae..f7d4c93 100644 --- a/frugal-tweak-vala/src/tools.vala +++ b/frugal-tweak-vala/src/tools.vala @@ -19,6 +19,10 @@ public static class Tools { + public static void exec(string commande,string args) + { + Posix.execlp(commande,args); + } public static void ConsoleDebug(string text) { #if DEBUG _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git