Skip to content

Custom Script execution #16

@seanrcollings

Description

@seanrcollings

The exec configuration only provides limited control over what to execute.

.venture File

Given a filepath, attempt to locate a .venture file

  • If the path is a directory, look in that directory.
  • If the path is a file, look at the adjacent files.

Attempt to execute that file with the path as the first argument

Considerations

  • How is it's execution related to exec?
    • Execute before / after exec
    • Execute instead of exec
    • Allow the script to determine whether or not exec is executed (best way to do this?)
  • If .venture is used for something like "starting up a terminal running a rails webserver" and then it gets executed again, a new instance of the terminal would be opened. How do we manage that? Should that be our job?

Notes:

  • .venture files will be hidden, regardless if show_hidden is toggled on.
  • adds venter_file_enabled configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions