The `karate` shell script does not have a shebang line and doesn't work in non POSIX shells such as fish
See original GitHub issueIn fish, for example, the script fails with this error message:
Failed to execute process './karate'. Reason:
exec: Exec format error
The file './karate' is marked as an executable but could not be run by the operating system.
The file needs a shebang in the first line:
#!/bin/bash
or:
#!/bin/sh
Or an env based alternative.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
The `karate` shell script does not have a shebang line and ...
In fish, for example, the script fails with this error message: Failed to execute process './karate'. Reason: exec: Exec format error The file...
Read more >Shell script working fine without shebang line? Why? [duplicate]
The parent shell, where you entered ./myscript.sh , first tried to execve it, which is where the shebang line would take effect if...
Read more >Which shell interpreter runs a script with no shebang?
Generally, a shebang-less text file that doesn't start with # is considered as a sh script. Which sh it is will vary though....
Read more >The problem with fish is that it's not POSIX-compliant, and it ...
A shebang is good practice, but the state of the industry is such that many scripts don't use them (unfortunately). I'm still of...
Read more >Untitled
... ,some,would,were,like,been,just,her,new,other,them,she,people,these,no,get ... ,should,work,use,through,see,know,did,much,where,years,need,him,back,such ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
never mind. just made the change, see commit above for details
0.9.6 released