Add clouseau script

This script launches the daemon, the given program and the Clouseau
client.

fix T5856
This commit is contained in:
Daniel Zaoui 2018-06-16 23:28:36 +03:00
parent 64ac1ca966
commit 41ad146676
2 changed files with 12 additions and 0 deletions

View File

@ -37,3 +37,4 @@ target_link_libraries(clouseau_client
)
install(TARGETS clouseau_client DESTINATION bin)
install(PROGRAMS clouseau DESTINATION bin)

11
src/bin/clouseau Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
if [ $# -lt 1 ]
then
echo "Usage: clouseau <executable> [executable parameters]"
else
# Start the local daemon. In case it is already running, it exits directly.
efl_debugd &
# Start the application
$@ &
clouseau_client -l -p $!
fi