Questions tagged [communicate]

129 questions
4
votes
1 answer

If is possible to set badge number from "today" widget

If is possible to set badge number from "today" widget? I understand it is not possible to set directly in the widget, but is it possible to communicate with the app and set it there, without open the app to front? I have tried NSNotificationCenter…
user2585453
  • 249
  • 3
  • 8
4
votes
3 answers

how to communicate with R through VBnet( or C#)

Recently, I Developed an Experiment Application with VB.net(in Windows platform), When the application collected the data,I want to use R to Analysis the data, But I don't know how to Communicate with R (In other word, I want to send R script to R…
Ethan.Tung
  • 41
  • 1
  • 3
3
votes
1 answer

How python-uno can manipulate libreoffice-calc with pipe?

Python uno can communicate with libreoffice-calc via socket,the common way is to launch libreOffice-calc from the shell: soffice --calc --accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager" soffice can communicate python-uno with…
showkey
  • 482
  • 42
  • 140
  • 295
3
votes
2 answers

STM32F103C8T6 can not communicate with HD44780

I'm trying to control a HD44780 16X2 LCD(4 bit communication) using a STM32F103C8T6. I connected the LCD this way: RS => PA0 EN => PA2 RW Ground D7 => PB7 D6 => PB6 D5 => PB5 D4 => PB4 The LCD doesn't display anything. Where might the problem be?…
Ilker Aykut
  • 71
  • 1
  • 5
3
votes
1 answer

How to Communicate between Two Animated Canvas Elements?

I want to communicate between two animated canvas elements. I’ve made two html5 canvas js animations with Adobe Animate CC. I’ve put both of these elements into one html page. I can successfully call functions from within those animations – the…
frogseatflies
  • 133
  • 2
  • 9
3
votes
2 answers

How to get asynchronous input AND output using subprocess.POPEN

I've been working on this for a few hours and haven't been able to come up with a good solution. A little background, I'm running a password cracking program that's closed source from the command line but have to constantly pause it when my gpu…
3
votes
1 answer

how to run Python subprocess pipe in the background and then kill it

I want to get the speech synthesis program Festival to generate sound until it is killed. In Bash, what I'm trying to do would be something like the following: >cat /var/log/dmesg | festival --tts & [1] 27262 >kill -9 27262 When I try to do this…
d3pd
  • 7,935
  • 24
  • 76
  • 127
3
votes
1 answer

What is the best practice for communicating with another thread in Qt?

I have a QThread derived class that communicates with the main thread by sending QEvents to it. What is the best way for the main thread to communicate with the second thread? The main thread has a pointer to the second one.
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
3
votes
2 answers

Python subprocess communicate kills my process

Why does communicate kill my process? I want an interactive process but communicate does something so that I cannot take raw_input any more in my process. from sys import stdin from threading import Thread from time import sleep if __name__ ==…
user442920
  • 857
  • 4
  • 21
  • 49
3
votes
0 answers

How to open a file in a new process everytime irrespective of fileopener

I am using windows 7 64 bit python 2.7 I am opening the file, and monitoring the file changes and then waiting till the opened file is closed. This works well in case of simple notepad file opener. As notepad opens each files in a new process ID…
imp
  • 1,967
  • 2
  • 28
  • 40
3
votes
2 answers

realtime communicate with Verilog simulation

I hope to realtime communicate with verilog simulation, just like I type a number at some where and verilog simulation can read it and show it. So I find a way that use read/write a file to communicate. First I write a c program to scanf what I type…
aaa SA
  • 321
  • 1
  • 8
  • 16
3
votes
5 answers

How do I communicate between python and a mac application?

This might be a vague question, but I failed to rephrase it properly. So here's an explanation. I developed an app that was originally developed as a Mac application, using API's from both Carbon/Cocoa to achieve my task. (The goal of the…
Mats Willemsen
  • 815
  • 1
  • 9
  • 25
2
votes
1 answer

how to capture error from python's subprocess.run, while using timeout

I cannot figure out how to use python's subprocess.run to capture stdout, stderr, and exitcode ... and whatever else can be captured. I also have to use the timeout option because some of the thousands of commands I'm running hang, ie., run…
Marc B. Hankin
  • 771
  • 3
  • 15
  • 31
2
votes
0 answers

Using Python to run a .exe file and provide a string as an input for the program

I am trying to run a .exe file from a Python script, the .exe file opens a command window and requires the name of a file as an input. So I am wondering how to run this .exe file and send a string, with the input file's name, to the program.…
R. Doyle
  • 23
  • 2
2
votes
1 answer

Communicating between multiple WPF Usercontrols in a grid (MVVM App)

Hi I would like to grow my application by having discrete units of functionality in UserControls, and then put several of these inside a grid of ContentControls on my main page. I will need to be able to communicate between the controls in the…
TripleAntigen
  • 2,221
  • 1
  • 31
  • 44
1
2
3
8 9