search for: createprocess

Displaying 20 results from an estimated 85 matches for "createprocess".

2010 Aug 23
1
[Bug] [Urgent] CreateProcess Failed internal error (1359)
...v[0],arg + 1,argv[2],i); STARTUPINFOW si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); si.dwFlags = STARTF_USESTDHANDLES/*|STARTF_USESHOWWINDOW*/; //sui.wShowWindow = SW_HIDE; ZeroMemory( &pi, sizeof(pi) ); // Start the child process. if( !CreateProcessW( NULL, // No module name (use command line) buffer, // Command line NULL, // Process handle not inheritable NULL, // Thread handle not inheritable FALSE, // Set handle inheritance to FALSE 0, // No creation flags NULL,...
2006 Aug 24
1
[ win32utils-Bugs-5503 ] Process::create() checks return value of CreateProcess against 0, should be false
...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 Initial Comment: In Process::create(), the return value of CreateProcess() is compared against 0 to determine if the CreateProcess call succeeds. It appears that instead of 0, CreateProcess() will return false on a failure, and this comparison will fail (no exception)....
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: lpProcessAttributes [in, optional] A pointer to a SECURITY_ATTRIBUTES structure that determines whether the returned handle to the new process obje...
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 in the GU...
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...
2009 Apr 07
2
Running an R script from Delphi 7
...0); FillChar(startinfo, sizeof (TStartupInfo), #0); Startinfo.cb := sizeof (TStartupInfo); Startinfo.dwFlags := STARTF_USESHOWWINDOW or STARTF_USESTDHANDLES; Startinfo.wShowWindow := SW_HIDE; { Attempt to create the process. If successful wait for it to end} // CreateOK := CreateProcess(nil, nil, nil, nil, nil, CreateOK := CreateProcess(Nil, PChar('C:\Program Files\R\R-2.8.1\bin\R.exe ' + CommandLine), nil, nil, False, CREATE_NEW_PROCESS_GROUP+NORMAL_PRIORITY_CLASS, nil, nil, StartInfo, proc_info); if (CreateOK) then begin WaitForSingle...
2006 Apr 21
2
error in abld build wins udeb
...SYMBI AN\7.0S\SERIES60_V21\SERIES60EX\SPEEX- 1.1.12\SYMBIAN\WINS.make" LIBRARY VERBOSE= -s nmake -nologo -x - -s -f "\Programmi\Symbian\7.0s\Series60_v21\EPOC32\BUILD\PRO GRAMMI\SYMBIAN\7.0S\SERIES60_V21\SERIES60EX\SPEEX- 1.1.12\SYMBIAN\SPEEX\WINS\SPEE X.WINS" LIBRARY process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Programmi\Symbian \7.0s\Series60_v21\EPOC32\BUILD\PROGRAMMI\SYMBIAN\7.0S\SERIES60_V21\SERIES60EX\S PEEX-1.1.12\SYMBIAN\SPEEX\WINS\SPEEX.WINS LIBRARY, ...) failed. make (e=2): Impossibile trovare il file specificato. make: *** [LIBRARYSPEEX] Error 2 make -r -f &q...
2009 Dec 02
5
[LLVMdev] LLVM MinGW binaries on Vista issue
I'm attempting to use the above as described here http://stackoverflow.com/questions/1816469/llvm-mingw-installation-on-vista ...and getting the following error when attempting "llvm-gcc -o hello.exe hello.c" llvm-gcc: CreateProcess: No such file or directory I've heard it may be due to the way GCC is passing args to CreateProcess as in this thread http://readlist.com/lists/lists.sourceforge.net/mingw-users/1/7113.html http://readlist.com/lists/lists.sourceforge.net/mingw-users/1/7180.html Is this the cause or is there...
2009 Jul 30
1
What changed in the R Windows interface from v2.6.2 to v2.7.0?
...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) I use the createprocess command because I want the Rgui.exe and the Fortran console application to run in parallel. I have done this before with other executables (e.g. Tinn-R.exe, textpad.exe) and there hasn't been a...
2008 Dec 23
3
[LLVMdev] problem running llvm-gcc from LLVM 4.2 binary download for Mingw
i just downloaded LLVM 4.2 binaries for Mingw (including the GCC 4.2 front-end), and received the infamous "llvm-gcc: CreateProcess: no such file or directory" error message when trying to compile hello.c from the command-line.... i've already placed to bin directory containing llvm-gcc in my PATH, but still no luck....
2004 Aug 22
2
permissions, kernel-2.6.8, and wine-20040813
...=F:\wine\msvc++tk2003\lib;F:\wine\OpenSSL\lib\VC;%LIB% qmake nmake This worked fine before, but now runs successfully only as root, and gives this error for non-root users: <snipped> fixme:exec:ShellExecuteExW32 flags ignored: 0x00000500 fixme:exec:SHELL_ExecuteW Strange error set by CreateProcess: 203 fixme:exec:SHELL_ExecuteW Strange error set by CreateProcess: 203 Application could not be started, or no application associated with the specifi ed file. ShellExecuteEx failed: Environment variable not found The fact that it works for root but not for a normal user makes me think that it...
2008 Dec 23
0
[LLVMdev] problem running llvm-gcc from LLVM 4.2 binary download for Mingw
Hello, Bob > i just downloaded LLVM 4.2 binaries for Mingw (including the GCC 4.2 > front-end), and received the infamous "llvm-gcc: CreateProcess: no such > file or directory" error message when trying to compile hello.c from the > command-line.... Are you running Vista? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2004 Feb 29
1
Rcmd SHLIB
Ok, I think I may have a path or permissions problem (below). Anyone know which settings I should check? When I use "Rcmd SHLIB <filename>" I get: C:\Program Files\R\rw1081\bin>Rcmd SHLIB info.diffusion.c process_begin: CreateProcess((null), dlltool -k --as as --dllname R.dll --def R. exp --output-lib libR.a, ...) failed. make (e=2): The system cannot find the file specified. make[1]: *** [libR.a] Error 2 make: *** [libR] Error 2 [[alternative HTML version deleted]]
2010 Aug 19
2
Strange Makefile problem
Hi, When using the win32 make.exe I get sometimes strange errors : Code: process_begin: CreateProcess(C:\windows\temp\make131-2.bat, C:\windows\temp\make131-2.bat, ...) failed. make (e=1359): Internal error make[1]: *** [ARM_Packages_Release\_eBayAppWatcherSetupUtil.o] Error 1359 make[1]: *** Waiting for unfinished jobs.... with multithreaded build. Something similar with g++ win32 too :...
2006 Apr 21
0
errors in abld build wins udeb
...SYMBI AN\7.0S\SERIES60_V21\SERIES60EX\SPEEX- 1.1.12\SYMBIAN\WINS.make" LIBRARY VERBOSE= -s nmake -nologo -x - -s -f "\Programmi\Symbian\7.0s\Series60_v21\EPOC32\BUILD\PRO GRAMMI\SYMBIAN\7.0S\SERIES60_V21\SERIES60EX\SPEEX- 1.1.12\SYMBIAN\SPEEX\WINS\SPEE X.WINS" LIBRARY process_begin: CreateProcess((null), nmake -nologo -x - -s -f \Programmi\Symbian \7.0s\Series60_v21\EPOC32\BUILD\PROGRAMMI\SYMBIAN\7.0S\SERIES60_V21\SERIES60EX\S PEEX-1.1.12\SYMBIAN\SPEEX\WINS\SPEEX.WINS LIBRARY, ...) failed. make (e=2): Impossibile trovare il file specificato. make: *** [LIBRARYSPEEX] Error 2 make -r -f &q...
2006 Apr 21
0
error in abld build wins udeb
...X- 1.1.12\SYMBIAN\WINS.make" > LIBRARY VERBOSE= > -s > nmake -nologo -x - -s -f "\Programmi\Symbian\7.0s\Series60_v21\EPOC32 > \BUILD\PRO > GRAMMI\SYMBIAN\7.0S\SERIES60_V21\SERIES60EX\SPEEX-1.1.12\SYMBIAN\SPEEX > \WINS\SPEE > X.WINS" LIBRARY > process_begin: CreateProcess((null), nmake -nologo -x - -s -f > \Programmi\Symbian > \7.0s\Series60_v21\EPOC32\BUILD\PROGRAMMI\SYMBIAN\7.0S\SERIES60_V21 > \SERIES60EX\S > PEEX-1.1.12\SYMBIAN\SPEEX\WINS\SPEEX.WINS LIBRARY, ...) failed. > make (e=2): Impossibile trovare il file specificato. > make: *** [LIBRARY...
2012 Oct 24
1
Exec python script on puppet clinet running on windows
...information from environment production source(s) puppet://qalab2.p ertino.com/plugins info: Caching catalog for homebasic32.pertino.com info: Applying configuration version ''1351047345'' err: /Stage[main]//Exec[ez_setup.py -U setuptools]/returns: change from notrun to 0 failed: CreateProcess() failed: notice: Finished catalog run in 4.06 seconds ************************************************** I have no idea how to debug. Pls help! Great Thanks, Viktoriya -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this disc...
2004 Nov 04
0
Running an exe from within a wined exe
...ory+"\\jpsec.exe\" -i "+textNameFolder+" -urng "+resultFile+""; // Converts CString to 'const char*' to further covert to LPSTR const char* comLine; int n = commandLine.GetLength(); comLine = commandLine.GetBuffer(n); // Start the child process. if( !CreateProcess(NULL, //Example "\"JPSecWin32\\jpsec.exe\" -i .\\..\\..\\JPSecWin32\\lenna_enc.jp2 -o .\\..\\..\\JPSecWin32\\temp5.jp2 -k .\\..\\..\\JPSecWin32\\keys.txt -dec", // No module name (use command line). LPSTR(comLine), // Command line. NULL, // Process handle not inheritable. NU...
2001 Jul 25
1
Startting Linux App via Wined App
Is there any interface, which can be used to call a Native Linux app to start up, from within a Win32 application.
2004 Dec 18
0
Removing COMSPEC from win32-open3
Hi all, Aslak brought up a good point with regards to returning the pid for a popen4() method. As it stands now, it returns the pid of the shell rather than the pid of the process itself. However, my attempts to remove the COMSPEC stuff result in CreateProcess() failing with an error code of 2, i.e. "the system cannot find the file specified" - not too helpful. This is when I tried to run the "ver" command. (A short while later) Hmm...it looks like some of these command line apps are actually dll files, not .exe files (as in the ca...