Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 3ba6b57c6d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (15 sloc) 0.365 kb
#! /usr/bin/env python
import sys
import os
import commands
def main(argv):
#f_name =sys.argv[1]
f_name = sys.argv[2]+sys.argv[1]
s1='commands.getoutput("emacs --batch '
s2=" --eval '"
s3="(org-export-as-html nil)'"
s4='")'
out = str(s1)+str(f_name)+str(s2)+str(s3)+str(s4)
exec out
if __name__ == "__main__":
main(sys.argv)
Jump to Line
Something went wrong with that request. Please try again.