thunks

command module
v0.0.0-...-785b8ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2017 License: MPL-2.0 Imports: 6 Imported by: 0

README

thunks

thunks wraps a single executable file in a self-extracting JAR file, to be used in environments that expect executable JARs. The command line passed to the JAR file will be passed to the underlying executable.

Usage

$ thunks /bin/ls
$ java -jar ls.jar /
acct  bin  boot  cache  data  dev  etc  home  init  lib  lib64  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

How does it work?

Thunks creates a JAR containing a manifest, plug two different files:

  • An executable file
  • A Java class

The Java class will extract the executable from the archive to a temporary directory, forwarding to it the command line arguments originally passed to it.

Documentation

Overview

automatically generated from Thunk.class; do not edit

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL