job file: add a way to choose script language
Bug #1157325 reported by
suhr
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned |
Bug Description
For example, if rc shell (http://
Variant #1:
...
script /opt/9/bin/rc
[rc code here]
end script
...
Variant #2:
...
script
[rc code here]
end script
....
So, you could use short rc/perl/python/etc script inside job file without being have to create outside script file.
To post a comment you must log in.
I don't see this as desirable. Consistency is valuable here - arbitrary scripting languages also implies arbitrary parser conflicts, which we shouldn't have to deal with. I think using 'exec' with an internal script is already a perfectly appropriate way to support languages other than POSIX shell.