Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • gridtk gridtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • gridtkgridtk
  • Issues
  • #17
Closed
Open
Issue created Aug 02, 2017 by Manuel Günther@mguentherMaintainer

Submitting jobs with external executable does not work

If you have a script, say script.py, which is not executable by itself (it has no executable flag), and you are calling from directory /dir/of/script:

$ jman -l submit python script.py

The submitted job will be

$ jman ls -l
[...] '/dir/of/script/python' 'script.py' 

instead of

[...] 'python' '/dir/of/script/script.py'

When you specify the full path of the executable, this will work:

$ jman -l submit /usr/bin/python script.py
$ jman ls -l
[...] '/usr/bin/python' 'script.py'

but the path to the script is lost.

Hence, currently there is no way of running a non-executable script. I remember that jman had an option for the executable once before, but for some reason I cannot find this anymore. Maybe, this option should be revived.

Assignee
Assign to
Time tracking