Questions tagged [external-process]

167 questions
0
votes
0 answers

Identifying (grouping?) and terminating stray (detached) processes in Java

My integration tests in Maven require to start some external processes (servers). If the user aborts the maven process, those processes continue to linger around. I used to add a 'key' (ie. BUILD_ARTIFACT_PROCID=xyz) to the environment of those…
0
votes
4 answers

Running a external program (pscp) from a Windows Service doesn't works

I'm writing a Windows Service in C++ (Visual Studio 2010) and this service must send a file to a remote server through secure copy (I'm using pscp.exe for that). So, I'm using the system function to launch pscp.exe and when running as a normal…
0
votes
2 answers

ORA-28579: network error during callback from external procedure agent

Has anyone seen this error when trying to call an external C function from an Oracle query? I'm using Oracle 10g and get this error every time I try to call one of the two functions in the library. A call to the other function returns fine every…
Ryan Ahearn
  • 7,886
  • 7
  • 51
  • 56
0
votes
1 answer

Run external program with custom argumets

I am trying to run an external program with custom arguments placed in text field. Here is my code: String customPARAM = textfield.getText(); try { new ProcessBuilder("MyEXE.exe", "-param1 " + customPARAM).start(); } catch (IOException ex) { …
Cravenica
  • 169
  • 10
0
votes
1 answer

How can SQLAnywhere's "external CLR" access a System Process

In need of an extension in SQLAnywhere (16) to access some DOS functions on the server where the DB is running, I tried : A first code for a DLL to be called from Sybase ________! SAExternal.vb !____________ Imports System.Diagnostics Public…
karlD
  • 1
  • 2
0
votes
1 answer

Getting Information from a Shell'ed Process into the VBA Program

So, let's say that I have a VBA application inside of whatever Office Application. I have created a command-line VB.net program to do all of the fun web-services stuff. Okay, the VBA application calls Shell() to run the command line program. Now,…
jhleath
  • 784
  • 1
  • 8
  • 18
0
votes
2 answers

What is the preferred way of piping information into another process in Java?

I need to pipe data into another process. The data is an array of strings that I concatenated into one large string. The external process accepts a text file. Currently, I am writing the string into a ByteArrayOutputStream but is there a better way…
mrQWERTY
  • 4,039
  • 13
  • 43
  • 91
0
votes
2 answers

Running external command using python 2.7 in Windows

I am a novice user in python and I am having a problem in executing external command with command-line switch (using python 2.7 in Windows 8 64-bit): lammpsExe = 'C:/Program Files (x86)/LAMMPS 32-bit 20150403/bin/lmp_serial.exe' os.system(lammpsExe…
Ocean Flyer
  • 51
  • 1
  • 3
0
votes
1 answer

Node.js: Get "Trying to open unclosed connection" when calling method from child process

I'm getting the "Error: Trying to open unclosed connection," but I don't believe it's due to a db issue... and that's why I'm stumped. Most solutions to this error, reference db connection issues. My goal here is execute an external process. If…
continuousqa
  • 508
  • 4
  • 14
0
votes
2 answers

Control an external process with PHP

I have a web page where I show the status of some processes (in a table, one row for each process). The user have the options to start the process or to force it to stop. When the user click to start a process, a JSON object is send to a web service…
Rick
  • 521
  • 5
  • 18
0
votes
1 answer

Speed-up external call in Java

I have a program in JAVA that needs to call two other external executables (written in C++) thousands of times per launch. Actual time for calculations in each of them is effectively milliseconds, so the bottleneck of the whole program is calls and…
Roman
  • 2,225
  • 5
  • 26
  • 55
0
votes
2 answers

Starting CherryPy from Java results in not responding answers

I have a Python-Project for which I created a CherryPy-Webservice-Wrapper to access it via a Java-Client (a self developed Eclipse plugin in particular). The CherryPy-Server is also started from Java as an external…
Berschi
  • 2,605
  • 8
  • 36
  • 51
0
votes
0 answers

Divide windows form into 4 section and view diffrent orientation panel in each section

I want to develop the windows desktop application(.NET) for the large all in one touch screen. the screen must be divided into 4 section and lower sections view as normally and upper section view as flipped(reversed). because we have 2 user that…
0
votes
2 answers

How to interact with a C console application from within my Java application

I know this has been asked before, but, as it happens to people sometimes, other answers didn't seem to help. I need to start a C application and pass it a few inputs to navigate through its menu to finally execute what I need. The final output…
0
votes
1 answer

Is running an external document part of the presentation layer?

I have an application that creates an MS Word document and runs it. I'm trying to figure out which layer to put that code in. Would running the external document be part of the presentation layer or part of the business logic layer? One the one…