473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Execl() in windows

I am having a weird result with the execl() func under windows (i know
its meant for unix).
When I put the execl in a piece of code then run the app and when I
give a value to execl all it does is rerun the prog or rerun just
main() I dont know which.
Is this normal? Is it ok to use this if i want to loop my app?
I tried looking it up on google but didnt find anything.
This is actually pretty useful to me altough unusual.
Thanks
Maxime F

Nov 15 '05 #1
1 6141
"shalombi" <sh******@gmail.com> writes:
I am having a weird result with the execl() func under windows (i know
its meant for unix).
When you post this question to a more appropriate newsgroup, probably
comp.os.ms-windows.programmer.misc, be sure to provide more details,
such as the actual arguments you're passing to the (non-standard)
execl() function. Even knowing what execl() does, I can't tell from
your description what you're trying to do.
When I put the execl in a piece of code then run the app and when I
give a value to execl all it does is rerun the prog or rerun just
main() I dont know which.


I don't know what distinction you're making here (between running the
program and running just main()). This is something else you should
clarify when you post to a Windows group.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: python newbie | last post by:
Can anyone tell me why this would cause "Invalid Number of Parameters" while trying to compile (or interpret or whatever) import os...
4
by: Chris Green | last post by:
Hey folks, I'm whipping up a quick CGI to wrap a command line app and I was a bit suprised to not find a execl-like Popen3 style object. I don't want to bother with the shell interpreting...
2
by: Erik Johnson | last post by:
Hi, I am trying to use Python to remap stdout and stderr to a log file for an exec()'ed program. The following code seems to work fine for the script itself, but my expectation was that the...
7
by: erniedude | last post by:
Hi, I'm a newbie and I was wondering if anyone knew a (Python) script to run 4 batch files, one after the other (assuming the directories are known). It would be better if all 4 batch files...
3
by: Bell, Kevin | last post by:
I'd love to be able to open up a windows folder, like c:\temp, so that it pops up visually. I know how to drill down into a directory, but I can't figure out how to open one up on screen. Would I...
3
by: PC | last post by:
Is it possible to create pipe()s (stdin/stdout) for a child process and forking a shell with execl() and controlling the shell's stdin/stdout from the parent with select()? Heres a little snippet...
1
by: kisshug | last post by:
i 'm working on a project in that i have 2 use 'execl' function can any one give how to use this function with 2 small programs in unix environment. -- kisshug Message posted via ...
1
by: antoniosk | last post by:
I have a problem calling a compiled program (for example hello.exe which stands for hello world) from another program (let's say time.exe) with execl function /* program time.c */ #include...
0
by: vishalgupta | last post by:
while working on vb we can work with acess and sql as backend but can we work with execl in backend ......is it efficient and easier to work with execl in backend or access in backend and why??
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.