Skip to content
This repository has been archived by the owner on Dec 3, 2017. It is now read-only.
/ lua_setproctitle Public archive

[No longer maintained] Partial setproctitle implementation for lua

License

Notifications You must be signed in to change notification settings

cactus/lua_setproctitle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luasetproctitle

Build requirements:

  • gcc
  • cmake
  • linux >= 2.6.11
  • lua (or luajit)

Run requirements:

  • lua (or luajit)

There are a few build options, and their defaults, that you can specify:

  • CMAKE_INSTALL_PREFIX = /usr/local

    The target prefix that make install will install to.
    This is what you would expect from ./configure --prefix=foo
  • CMAKE_BUILD_TYPE = Release

    Specifies the build type for make based generators.
    Possible values: Debug, Release, MinSizeRel

An example of the build steps:

$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
$ make

After building, while in the build directory:

$ make install
#!/usr/bin/env lua
s = require "setproctitle"
print(s.getproctitle())
s.setproctitle('bill')
print(s.getproctitle())

Free use of this software is granted under the terms of the MIT (X11) License. See LICENSE file for more information.

About

[No longer maintained] Partial setproctitle implementation for lua

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages