Displaying 20 results from an estimated 60000 matches similar to: "How to get the stdout of linux process"
2017 Jun 20
1
Fortran programs not writing stdout on windows
A user has reported an issue that appears when a fortran executable is
called via R on Windows. I am unsure if this expected behavior or a
bug in Fortran or in how R calls Windows executables.
The problem is that when the fortran program is called from R, stdout
gets written to a file "fort.6" instead of stdout. When the same
executable is called from the terminal it works fine and
2009 Apr 30
0
CreateProcess and redirected stdout from Linux apps?
I'm using Wine 1.0.1. I have a Win32 application that uses ShellExecute in some places and CreateProcess in others to execute batch files and executables. Under both Windows XP and Wine, both ShellExecute and CreateProcess execute their executables successfully.
However, when using CreateProcess on Windows the output of batch files or console apps is redirected and displayed in a text box
2006 Apr 21
2
error in abld build wins udeb
I am trying to compile speex.1.1.12 for Symbian OS but I get lots of
errors:
C:\Programmi\Symbian\7.0s\Series60_v21\Series60Ex\speex-1.1.12\symbian>abld
buil
d wins udeb
make -r -f
"\Programmi\Symbian\7.0s\Series60_v21\EPOC32\BUILD\PROGRAMMI\SYMBI
AN\7.0S\SERIES60_V21\SERIES60EX\SPEEX- 1.1.12\SYMBIAN\EXPORT.make" EXPORT
VERBOSE
=-s
Nothing to do
make -r -f
2009 Sep 02
1
Question on CreateProcess and handle inheritance
Hi,
I just wanted to make sure that I''m not confused by Michael Buselli''s
comment and patch. As far as I can tell, if you set the bInheritHandle
in the SECURITY_ATTRIBUTES structure that''s passed to CreateProcess to
true, it''s the same as calling SetHandleInformation(handle,
HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT) after the fact.
CreateProcess:
2006 Aug 24
1
[ win32utils-Bugs-5503 ] Process::create() checks return value of CreateProcess against 0, should be false
Bugs item #5503, was opened at 2006-08-23 21:27
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=5503&group_id=85
Category: win32-process
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: David Haney (darius42)
Assigned to: Nobody (None)
Summary: Process::create() checks return value of CreateProcess against 0, should be false
2004 May 11
2
recover should send messages to stderr, not stdout
Hi,
recover() sends all its messages, which I consider to be error messages,
to stdout. I think they more properly belong to stderr.
This is an important difference for those of us who use R in batch mode
to generate ASCII files.
Thanks,
Vadim
[[alternative HTML version deleted]]
2009 Apr 07
2
Running an R script from Delphi 7
Gentlepersons:
A long time ago I used to be able to start R (version 2.6.1) from a
Delphi 7 program and run a script by using a procedure like the following:
function StartRAndWait (CommandLine : string) : Boolean;
var
Proc_info: TProcessInformation;
Startinfo: TStartupInfo;
ExitCode: longword;
CreateOK : Boolean;
begin
Result := False;
{ Initialize the structures }
2007 Sep 03
1
Snow on Windows Cluster
Hello,
the package snow is not working on a windows cluster with MPICH2 and
Rmpi. There is an error in makeCluster:
launch failed: CreateProcess(/usr/bin/env
"RPROG="C:\Programme\R\R-2.5.1\bin\R" "OUT=/dev/null" "R_LIBS="
C:/Programme/R/R-2.5.1/library/snow/RMPInode.sh) on 'cl1' failed, error
3 - Das System kann den angegbenen Pfad nicht finden.
I
2006 Nov 21
3
Fw: re. win32-process
Hi all,
Any ideas for the question below? I know how to do this in theory - make the ''inherit'' flag true, and set the ''stdout'' and ''stderr'' startf_flags hash options to something in the startup_info hash, but I wasn''t sure how to do this in practice.
It would be nice if the answer could be something like this:
require
2006 Oct 24
2
oggdec.exe not using album gain stdout option
This question is mainly directed at John Edwards, I believe. I'm attempting
to use oggdec.exe in a batch conversion of ogg vorbis files for use on a
portable player. I'm using the -o option to redirect output to the LAME
encoder. So far so good.
However, I also want to do volume leveling using the replaygain tags. If I
specify track (radio) gain, everything works fine, however, when I
2013 Feb 15
20
[Bug 2071] New: sshd closes stderr but not stdout when child process exits
https://bugzilla.mindrot.org/show_bug.cgi?id=2071
Bug ID: 2071
Summary: sshd closes stderr but not stdout when child process
exits
Classification: Unclassified
Product: Portable OpenSSH
Version: 6.1p1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
2018 Oct 10
2
Is there a way to get an rsync client to communicate over stdin/stdout?
Hello,
Is there a way to get an rsync client to communicate over stdin/stdout?
I found these two emails from 2004. The second email mentions that
there might be a patch.
https://www.mail-archive.com/rsync at lists.samba.org/msg09392.html
https://www.mail-archive.com/rsync at lists.samba.org/msg09427.html
Is anyone aware of a way to do this? Or of a published patch that does it?
I figured I
2002 May 12
1
minor error in "stderr & stdout" web site FAQ
Hello,
There appears to be an error in the stderr redirection of the crontab
rsync entry. In Bourne shell and compatibles (crontab entries are run by
the Bourne shell) redirections are processed from left to right and "2>&1"
redirects the stderr to the same location stdout is currently directed and
not to stdout. Hence:
cmd 2>&1 > log
directs stderr to the
2008 Mar 15
3
test for running process
I want to know if a linux process is already runnning, eg, I could use
ps -e |grep soffice
However under wine, the output can not be read (mentioned in my last email), is
there any other alternatives?
regards,
2003 Jun 09
4
executable R scripts
Hi, I'm a newbie trying to make an R program executable on UNIX, just like one
would write an executable perl script by putting "#!/usr/bin/perl" in the
first line, and so on.
It seems, though, that this would only work if I use the "BATCH" command to
tell R to execute the program in its first argument. This would have the
unfortunately side-effect of dumping all
2012 May 11
1
Replacements for stdout and stderr guaranteed to be open in all versions of R
I maintain the geometry package, which integrates the Qhull C library
(http://qhull.org) into R. The Qhull function I hook into requires an
open FILE handle as one of its arguments. I had set this file handle to
stdout, but now R check NOTEs the presence of stdout, and the CRAN
maintainers asked me to get rid of these NOTEs.
Including the following defines means the checks are passed on CRAN:
2007 Sep 07
1
plotting to stdout
I have found two prior instances of this question in R-help, but I can't
find the answer, and I'm giving up on mindless tinkering.
http://tolstoy.newcastle.edu.au/R/help/03a/5994.html
https://stat.ethz.ch/pipermail/r-help/2004-December/062259.html
I must be able to pipe the poltting commands to stdin and receive the plot
on stdout, with errors written to stderr, should any occur.
2001 Jun 15
2
openssh 2.9p1: data loss when stdout sent to a pipe
We recently tried upgrading openssh from 2.5.2p2 to 2.9p1
and discovered that it no longer worked to feed the output from a remote
command into a pipe, unless the output was short and the pipe was very
fast at processing its input.
Example 1: ssh remote_machine some_command | less
(where "some_command" generates a lot of output) now fails after
the first screenful, with a
2005 Apr 01
2
about get stdout from other program
Dear all R-helper,
if I want to use stdout from other language as my R program input ,which is
the best way for design the API,using Pipe function or produce a temporary
file,using scan function to read the file ?
thanks
Michael
2009 Sep 11
1
[PATCH] guestfish: Redirect stdout when executing remote commands
guestfish --listen necessarily redirects its stdout to /dev/null so as not to
interfere with eval. The remote protocol doesn't contain any other provision for
collecting stdout for the caller, so executing guestfish --remote will never
generate any output.
This patch fixes that by forwarding the caller's STDOUT to the listener over the
unix socket connection. The listener redirects its