top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How can write a python script which will execute some perl scripts in a GUI?

0 votes
967 views

How can write a python script which will execute some perl scripts in a gui and shouldn't be post processed....?

posted Nov 30, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Not sure if I understood your question correctly -

You could try the subprocess.call() method something like this

var = "/your/file/path"
retcode = subprocess.call(["./yourperlscript.pl", var])
if retcode == 0:
    print("Passed!")
else:
    print("Failed!")

In case you are looking for something different please comment appropriately.

answer Nov 30, 2015 by Salil Agrawal
I want to update the results of the perl script on gui....which should be in runtime.
Not able to understand, please provide an example (may be step by step) so that it is clear what you are trying to do and what is expected.
Similar Questions
+1 vote

I need to access ClearQuest programatically using Perl. I just found ClearQuest OSLC REST API. Client is planning to use ClearQuest web 7.1.1. I read that it comes with OSLC REST API out the box.
Can someone please provide me some examples on how I can access the CQ through Perl using this API.

+1 vote

I have a Linux machine and windows machine, I need to run a GUI of Linux machine on the windows machine.
I don't want to use putty or any other software. I have to use any Perl modules to achieve this please help.

+1 vote

I have a python script (web service with query postgresql/postgis). Up to now, i did several test on my local laptop station (windows).

Now i want to execute this python script on our remote server (Web server : Apache;OS : Linux).

How to write a CGI template please? Can someone help me?

...