Shawl Changelog

What's new in Shawl 1.5.0

Mar 2, 2024
  • Fixed: Local UNC paths were only simplified for the C drive.
  • Added: shawl --version to display the program version.
  • Changed: Help text is now styled a bit differently.

New in Shawl 1.4.0 (Dec 4, 2023)

  • Added: --log-rotate option to control how often the log file rotates.
  • Added: --log-retain option to control how many old log files are retained.
  • Added: --log-as option to change the base name of the main log file.
  • Added: --log-cmd-as option to log the wrapped command's stdout/stderr in a separate file.

New in Shawl 1.3.0 (Oct 2, 2023)

  • Fixed: The path to the Shawl executable was not quoted when it contained spaces.
  • Added: --priority option to set the process priority.
  • Added: --dependencies option for add command to specify services as dependencies.

New in Shawl 1.2.1 (Aug 10, 2023)

  • Fixed: Possible case in which old log files would not be deleted. (Contributed by Luokun2016)
  • Added: Some guidance in the README related to security. (Contributed by kenvix)

New in Shawl 1.2.0 (May 19, 2023)

  • Fixed: When both --cwd and --path were specified, they would both try to update the command's PATH environment variable, but the changes from --cwd would override the changes from --path.
  • Changed: When using --cwd and --path, Shawl now simplifies local UNC paths. For example, \?C:tmp becomes C:tmp. Some programs, notably Command Prompt, don't like UNC paths, so this is intended to broaden compatibility.
  • Changed: The CLI output now uses a prettier format, including color.

New in Shawl 1.1.1 (Sep 16, 2022)

  • Fixed --pass, --restart-if, and --restart-if-not not allowing a leading negative number.
  • Fixed --pass, --restart-if, and --restart-if-not not requiring a value.
  • Fixed --no-restart, --restart-if, and --restart-if-not not being marked as mutually exclusive. They had only been marked as exclusive with --pass.

New in Shawl 1.1.0 (Jan 19, 2022)

  • Added version to executable properties.
  • Added --log-dir. (Contributed by oscarbailey-tc)
  • Added --env.
  • Added --path.
  • When a custom --cwd is set, it is now automatically added to the command's PATH to make it easier to write some commands. Specifically, assuming there is a C:foobarbaz.exe, then --cwd C:foobar -- baz.exe will work now, but --cwd C:foo -- barbaz.exe still will not work, because the PATH only helps to resolve executable names, not subfolder names.

New in Shawl 1.0.0 (May 20, 2021)

  • Shawl now handles computer shutdown/restart, allowing the wrapped program to exit gracefully.

New in Shawl 0.6.2 (Mar 10, 2021)

  • Fixed an issue introduced in v0.6.1 where the 32-bit executable was not usable on 32-bit systems.
  • Changed build process to avoid potential "VCRUNTIME140_1.dll was not found" error when using the program.

New in Shawl 0.6.1 (Dec 23, 2020)

  • Updated windows-service dependency to avoid a build failure where err-derive would use a private symbol from quote.

New in Shawl 0.6.0 (Aug 12, 2020)

  • Added --pass-start-args(Contributed by Enet4)
  • Added log rotation and service-specific log files.