News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Maintenance release - 0.6.6
Author Message
iGame3D
Moderator
***


Posts: 231
Group: Moderators
Joined: Apr 2007
Status: Offline
Reputation: 0
Post: #1
RE: Maintenance release - 0.6.6

Juergen Wrote:
Why does does os.execute not work?
You have copy or xcopy on windows.

os.execute would work, but writing hacky workarounds per operating system isn't the most ideal solution.

Juergen Wrote:
Also for larger junks it makes often sense to use tar -c | tar -x or cpio to do the copy.
Under a few circumstances this can be significantly faster.

Are these available as a default on Windows?
From a quick google search, apparently not.
I'm not sure how large of a chunk you mean.
I don't expect to move anything greater than two megs per file.

Juergen Wrote:
Btw. for Windows there is a "run" utility available which can suppress the console window.

I never see a console window in the windows emulator even when I want one. Can't run murgaLua or any command line for windows in emulation, even the command prompt replacement program won't take keyboard input, I'm guess because of some Windows OS dependency that can't be emulated because there is no actual Windows OS installed.

When one can use simple pure lua or LFS commands to lock, create, or delete directories and files, does it make any sense to not be able to do the same with moving some files?

It certainly doesn't make any sense to wait four minutes for ten megs of files to copy on a 1ghz machine.

At any rate I put an email into the Kepler project about this.
Maybe they will update with something more than windows only features in the next release.

03-16-2008 02:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Maintenance release - 0.6.6 - JohnMurga - 03-11-2008, 12:12 AM
RE: Maintenance release - 0.6.6 - mikshaw - 03-11-2008, 01:57 AM
RE: Maintenance release - 0.6.6 - iGame3D - 03-11-2008, 07:51 AM
RE: Maintenance release - 0.6.6 - iGame3D - 03-15-2008, 08:46 PM
RE: Maintenance release - 0.6.6 - Juergen - 03-15-2008, 10:13 PM
RE: Maintenance release - 0.6.6 - iGame3D - 03-16-2008 02:20 AM
RE: Maintenance release - 0.6.6 - mikshaw - 03-16-2008, 04:55 AM
RE: Maintenance release - 0.6.6 - iGame3D - 03-16-2008, 07:06 PM
RE: Maintenance release - 0.6.6 - Juergen - 03-17-2008, 04:55 AM
RE: Maintenance release - 0.6.6 - mikshaw - 03-17-2008, 09:00 AM
RE: Maintenance release - 0.6.6 - jpjacobs - 03-18-2008, 01:49 AM
RE: Maintenance release - 0.6.6 - mikshaw - 03-18-2008, 01:00 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: