Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (15 sloc) 365 Bytes
#! /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)
Something went wrong with that request. Please try again.