Send values from one python script to another one already running [on hold]












0














I'm trying to understand how I can develop a system that is made from two python script running in a linux box.



The firs one starts on system boot, connects to a MQTT server and wait for some data.
The other one is called from the command line, doing some works and then pass some data, basically three strings, to the first one and than exits.



Which way is the "correct" one to be used in this situation to pass data from script two to script one?
A file? Pipes?










share|improve this question















put on hold as off-topic by DavidPostill yesterday


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Yeah, you're right. I was thinking that I was posting on stack overflow :(
    – Progitto
    yesterday
















0














I'm trying to understand how I can develop a system that is made from two python script running in a linux box.



The firs one starts on system boot, connects to a MQTT server and wait for some data.
The other one is called from the command line, doing some works and then pass some data, basically three strings, to the first one and than exits.



Which way is the "correct" one to be used in this situation to pass data from script two to script one?
A file? Pipes?










share|improve this question















put on hold as off-topic by DavidPostill yesterday


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Yeah, you're right. I was thinking that I was posting on stack overflow :(
    – Progitto
    yesterday














0












0








0







I'm trying to understand how I can develop a system that is made from two python script running in a linux box.



The firs one starts on system boot, connects to a MQTT server and wait for some data.
The other one is called from the command line, doing some works and then pass some data, basically three strings, to the first one and than exits.



Which way is the "correct" one to be used in this situation to pass data from script two to script one?
A file? Pipes?










share|improve this question















I'm trying to understand how I can develop a system that is made from two python script running in a linux box.



The firs one starts on system boot, connects to a MQTT server and wait for some data.
The other one is called from the command line, doing some works and then pass some data, basically three strings, to the first one and than exits.



Which way is the "correct" one to be used in this situation to pass data from script two to script one?
A file? Pipes?







linux python






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday

























asked yesterday









Progitto

112




112




put on hold as off-topic by DavidPostill yesterday


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by DavidPostill yesterday


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.












  • Yeah, you're right. I was thinking that I was posting on stack overflow :(
    – Progitto
    yesterday


















  • Yeah, you're right. I was thinking that I was posting on stack overflow :(
    – Progitto
    yesterday
















Yeah, you're right. I was thinking that I was posting on stack overflow :(
– Progitto
yesterday




Yeah, you're right. I was thinking that I was posting on stack overflow :(
– Progitto
yesterday










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?