similar to: CreateProcess and redirected stdout from Linux apps?

Displaying 20 results from an estimated 20000 matches similar to: "CreateProcess and redirected stdout from Linux apps?"

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:
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
2010 Aug 23
1
[Bug] [Urgent] CreateProcess Failed internal error (1359)
Hi, I working on porting an IDE on MacOSX with the help of Wine, And I discover a random bug on wine. Please use this sample code to reproduce it (to be compiled on Windows): Code: ///////////////////////////////////////////////////////////////////////////// int Quit(int aReturnCode) { #ifdef _DEBUG wcout << L"Press Enter to quit"; getchar(); #endif return aReturnCode; }
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
2009 Jul 30
1
What changed in the R Windows interface from v2.6.2 to v2.7.0?
Dear R-devel, I would like to launch the Rgui.exe from a Fortran console application (we will call this FortranCon.exe), that I have written myself. To do this, I send the command line "C:\Program Files\R\R-X.X.X\Rgui.exe" (where X.X.X is the version number) as an argument to the Windows API function CreateProcess (see http://msdn.microsoft.com/en-us/library/ms682425(VS.85).aspx)
2008 Mar 15
1
How to get the stdout of linux process
I noted that when using createprocess, it is possible to get the output of a dos batch file. However if a linux script or program is called instead, it run but the stdout of linux processing can not be read by wine. Does anyone know how to do it? regards,
2008 Dec 17
1
CreateProcess for Unix binaries
The CreateProcess function sets a lpProcessInformation field. This field is set when a Windows process is called, but erased when a Unix binary (e.g. /bin/sleep 2) is called, so the hprocess handle is unknown. Is there a way to obtain this process handle so that GetExitCodeProcess can be called? I basically want to know when the called process has exited. Thanks
2003 Jan 06
2
Is sftp-server's stdout redirected to client ?
Hello everyone, I added some code to sftp, which would be useful for me. I add a command "run", which can run any command on the remote shell, in the mean time I want the server send the standard output back. for example, when I : sftp> run ls I want to see the result locally. I thought the stdout of sftp-server has been redirected to the client. But I get "message too
2018 Mar 18
0
Wine release 2.0.5
The Wine maintenance release 2.0.5 is now available. What's new in this release (see below for details): - Various bug fixes The source is available from the following locations: https://dl.winehq.org/wine/source/2.0/wine-2.0.5.tar.xz http://mirrors.ibiblio.org/wine/source/2.0/wine-2.0.5.tar.xz Binary packages for various distributions will be available from:
2014 Sep 19
0
vsnprintf_s and vsnprintf
Erik de Castro Lopo wrote: >> Oops. It seems that vsnprintf_s isn't always available on MinGW platform: >> MinGW declares this function only if MINGW_HAS_SECURE_API macro is defined. >> That's because WinXP version of msvcrt.dll doesn't contain secure functions >> like vsnprintf_s. >> >> Maybe it's better to revert vsnprintf_s to vsprintf or to
2008 Jul 13
1
yum remove from stdout
Hello, little tricky question : i have a file of packages for removal , which looks like that : atk libart_lgpl libXfixes audiofile libXcursor libxslt alsa-lib esound gnome-mime-data libIDL ORBit2 libbonobo libdaemon libXrandr dbus-python avahi avahi-glib gamin shared-mime-info libXres startup-notification libXinerama hicolor-icon-theme gtk2 GConf2 libglade2 libgnomecanvas gnome-keyring libwnck
2012 Nov 29
0
[LLVMdev] Different behavoir when writing to stdout with 2 raw_fd_ostreams with or w/o redirection
On Wed, Nov 28, 2012 at 10:54 PM, Dmitry N. Mikushin <maemarcus at gmail.com>wrote: > Dear all, > > Consider there is a program that writes to stdout using two different > raw_fd_ostream-s: raw_fd_ostream does buffered I/O, so it's not really meant to be used like this. > #include "llvm/LLVMContext.h" > #include "llvm/Module.h" > #include
2012 Nov 29
3
[LLVMdev] Different behavoir when writing to stdout with 2 raw_fd_ostreams with or w/o redirection
Dear all, Consider there is a program that writes to stdout using two different raw_fd_ostream-s: #include "llvm/LLVMContext.h" #include "llvm/Module.h" #include "llvm/Support/raw_ostream.h" using namespace llvm; int main() { raw_fd_ostream S(STDOUT_FILENO, false); outs() << "Hello"; S << ", world!";
2020 Aug 05
2
[PATCH nbdkit 1/2] server: Call .get_ready before redirecting stdin/stdout to /dev/null.
VDDK plugin + --run was broken because of the following sequence of events: (1) After .config_complete, server redirects stdin/stdout to /dev/null. (2) Server then calls vddk_get_ready which reexecs. (3) We restart the server from the top, but with stdin/stdout redirected to /dev/null. So saved_stdin/saved_stdout save /dev/null. (4) run_command is called which "restores"
2005 Oct 31
1
MS Visual FoxPro DECLARE command doesnt work
I'm a programmer using Microsoft Visual FoxPro for daily work. I'm trying to run a self written program on wine. This program uses several Windows API functions. An example is: DECLARE INTEGER ShellExecute IN z:/usr/lib/wine/shell32.dll.so ; INTEGER, STRING, STRING, STRING, STRING, INTEGER ShellExecute( 0, "open", "notepad.exe", "", "", 1 )
2012 Nov 29
2
[LLVMdev] Different behavoir when writing to stdout with 2 raw_fd_ostreams with or w/o redirection
Hi Dan, Sean, Thanks for replies, So does it mean user is not expected to use any other stream for stdout, but outs()? Although there is a comment "If you don't want this behavior, don't use outs().", outs() is a static instance which always exists and creates problems, even if not used. - D. 2012/11/29 Dan Gohman <dan433584 at gmail.com> > On Wed, Nov 28, 2012 at
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
2018 Jan 07
3
[Bug 104530] New: Desktop freeze when closing apps composited by compton running on GTX 760
https://bugs.freedesktop.org/show_bug.cgi?id=104530 Bug ID: 104530 Summary: Desktop freeze when closing apps composited by compton running on GTX 760 Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium
2007 Mar 19
2
ShellExecute
When running under Wine, ShellExecute isn't opening .html files that my Windoze app creates. Any thoughts? I know very little about linux or Wine. //fname is unicode CString that has a fully qualified *existing* .html filename HINSTANCE h = ShellExecute(NULL, _T("open"), fname, NULL, NULL, SW_SHOWNORMAL); if ((UINT)h <= 32) { /* yep, it fails to launch */ };
2013 Jul 14
1
Redirect system2 stdout to a file on windows
According to the manual, the `stdout` argument of the `system2` function can redirect output to a file. This seems to work on unix, however I can't get it to work on windows. The toy example below, no `out.txt` or `err.txt` files are created. I tried sending it to an existing file, or expand the full file path, but with no success: setwd(tempdir()) system2("whoami",