kolibrios/programs/system/launch/trunk
Ivan Baravy 3befb301cf Add use_fasm.lua and example: launch.
Now one can avoid ../../../../ includes and lang.inc files.

git-svn-id: svn://kolibrios.org@7127 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 07:29:50 +00:00
..
gpl3.txt
history.txt
ipc.inc
kobra.inc
launch.asm Add use_fasm.lua and example: launch. 2017-12-05 07:29:50 +00:00
launch.cfg
readme.txt
thread.inc
Tupfile.lua Add use_fasm.lua and example: launch. 2017-12-05 07:29:50 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

==================== <20>ãá᪨© ====================
‚¥àá¨ï: 0.1.80.1 (0.2 beta)
Launch - ¯à®£à ¬¬  ¤«ï § ¯ã᪠ ¯à¨«®¦¥­¨ï ¨§ ¤¨à¥ªâ®à¨© ¯®¨áª .
<0A>ਠ§ ¯ã᪥ ç¨â ¥â ä ©« launch.cfg ¢ /sys/etc, § â¥¬ ¢ ¤¨à¥ªâ®à¨¨ § ¯ã᪠.
<0A>®á«¥ í⮣® ᬮâà¨â ¯ à ¬¥âàë ª®¬ ­¤­®© áâப¨. <20>ਮà¨â¥â ¯ à ¬¥â஢ - ¯®
¯®à浪ã áç¨â뢠­¨ï.
ˆ§ ¯ à ¬¥â஢ ª®¬ ­¤­®© áâப¨ ¯®ª  ॠ«¨§®¢ ­® ⮫쪮 ¨¬ï ¯à®£à ¬¬ë ¨  à£ã¬¥­âë, ¯¥à¥¤ ¢ ¥¬ë¥ ¥©.
<0A>ਠ¢ª«îçñ­­®¬ ¨á¯®«ì§®¢ ­¨¨ Kobra ¢á¥ § ¨­â¥à¥á®¢ ­­ë¥ (¢å®¤ï騥 ¢ £à㯯ã launch_reactive) ¯à¨«®¦¥­¨ï ®¯®¢¥é îâáï
¢ á«ãç ¥ ãᯥ譮£® § ¯ã᪠ (¯®áë« ¥âáï á®®¡é¥­¨¥ dword 1 dword tid, tid - ¨¤¥­â¨ä¨ª â®à § ¯ã饭­®£® ¯à®æ¥áá ).
<0A> áâனª¨:
main.path - ¯ãâì ª ¤¨à¥ªâ®à¨ï¬ ¯®¨áª 
debug.debug - ®¯æ¨¨ ®â« ¤ª¨ (no - ­¥â ®â« ¤ª¨ ¨«¨ console - ¢ë¢®¤ ç¥à¥§ ª®­á®«ì)
debug.level - ã஢¥­ì ®â« ¤ª¨ (0 - ⮫쪮 á®®¡é¥­¨¥ 㤠筮/­¥ã¤ ç­®, 1 - ¢ë¢®¤¨âì á®®¡é¥­¨¥ ¤«ï ª ¦¤®© ¤¨à¥ªâ®à¨¨)
kobra.use - ¨á¯®«ì§®¢ ­¨¥ Kobra

<0A><>…„“<E2809E><E2809C>…†„…<E2809E>ˆ…:
¤«ï à ¡®âë ­ã¦­  libconfig.

==================== English ====================
Version: 0.1.80.1 (0.2 beta)
Launch is a programme that launches applications from search dirictories.
On the start it reads file launch.cfg in /sys/etc and in current dirictory.
Than it reads command line arguments. Priority of arguments is as reading.
Now there are only few command line arguments: the name of application and its arguments.
If using Kobra is enabled all intrested (members of launch_reactive group) applications are notified if
application is launched (sending message dword 1 dword tid, tid - identifier of launched process).
Configuration:
main.path - path to search dirictories
debug.debug - debug options (no or console)
debug.level - debug level (0 - show only ok/error messages, 1 - show for each directory)
kobra.use - using of Kobra
ATTENTION:
you need libconfig to use launch.