Re: How to trigger perl scrip in Django
yesterday was a similar question:
>>> from subprocess import call
>>> call("uname")
Linux
0
>>> call("uname", "-a")
2012/6/19 Pervez Mulla <mullapervez@gmail.com>:
>
>
> I am Newbie.recently started with django,how to trigger simple Perl script
> in django project,
>
> EX:
> small script in perl or bash to do a hello world to a file
> echo "hello world" > /home/hello.txt
>
> should be able to trigger the hello world script
> and see if the /home/hello.txt file has been created
>
> How can i do this.........?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/L8AUQ0U2ic8J.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home