Windows or Linux
#38
(08-18-2022, 02:56 PM)bplus Wrote: Linux is not just another OS it is several and who wants to try to code so all of them will work?

Aye, and this is something which I've found makes it almost impossible for me to write code for Linux.  Just the other day, I wrote a little program that compiled a file on disk, ran it, and then deleted it when it was finished.  My simple, go-to solution, was to use a common SHELL "del tempfile.exe" once the program was finished -- which works fine on Windows, Mac, Ubuntu, Mint, and on and on... but doesn't work on Arch as "del" isn't a part of their distro.  Instead, you have to use SHELL "rm tempfile.exe".  

Linux is a bazillion different OSes and each one has its own quirks, making it almost impossible to "code for Linux".  Instead, you code for certain distros of Linux, and tell the other guys, "..works everywhere else.  Good luck sorting the issue out of whatever you're using where it doesn't!"
Reply


Messages In This Thread
Windows or Linux - by aurel - 08-07-2022, 12:52 PM
RE: Windows or Linux - by SMcNeill - 08-07-2022, 03:16 PM
RE: Windows or Linux - by SMcNeill - 08-07-2022, 03:23 PM
RE: Windows or Linux - by madscijr - 08-07-2022, 03:55 PM
RE: Windows or Linux - by mnrvovrfc - 08-08-2022, 12:29 AM
RE: Windows or Linux - by aurel - 08-07-2022, 03:26 PM
RE: Windows or Linux - by SMcNeill - 08-07-2022, 03:32 PM
RE: Windows or Linux - by mnrvovrfc - 08-08-2022, 12:19 AM
RE: Windows or Linux - by bplus - 08-08-2022, 01:42 AM
RE: Windows or Linux - by DSMan195276 - 08-08-2022, 02:08 AM
RE: Windows or Linux - by aurel - 08-08-2022, 09:26 PM
RE: Windows or Linux - by madscijr - 08-17-2022, 01:18 PM
RE: Windows or Linux - by Kernelpanic - 08-17-2022, 04:53 PM
RE: Windows or Linux - by mnrvovrfc - 08-17-2022, 05:09 PM
RE: Windows or Linux - by Kernelpanic - 08-17-2022, 08:22 PM
RE: Windows or Linux - by mnrvovrfc - 08-08-2022, 11:02 PM
RE: Windows or Linux - by cage - 08-09-2022, 02:34 AM
RE: Windows or Linux - by mnrvovrfc - 08-09-2022, 03:56 AM
RE: Windows or Linux - by SMcNeill - 08-09-2022, 05:48 AM
RE: Windows or Linux - by BSpinoza - 08-09-2022, 03:34 AM
RE: Windows or Linux - by Pete - 08-09-2022, 06:02 AM
RE: Windows or Linux - by cage - 08-09-2022, 04:26 PM
RE: Windows or Linux - by SMcNeill - 08-17-2022, 01:24 PM
RE: Windows or Linux - by madscijr - 08-17-2022, 02:07 PM
RE: Windows or Linux - by mnrvovrfc - 08-17-2022, 02:51 PM
RE: Windows or Linux - by madscijr - 08-17-2022, 03:17 PM
RE: Windows or Linux - by mnrvovrfc - 08-17-2022, 02:58 PM
RE: Windows or Linux - by mnrvovrfc - 08-17-2022, 04:16 PM
RE: Windows or Linux - by aurel - 08-17-2022, 07:42 PM
RE: Windows or Linux - by madscijr - 08-17-2022, 08:08 PM
RE: Windows or Linux - by aurel - 08-17-2022, 07:45 PM
RE: Windows or Linux - by SMcNeill - 08-17-2022, 08:20 PM
RE: Windows or Linux - by mnrvovrfc - 08-17-2022, 09:28 PM
RE: Windows or Linux - by mnrvovrfc - 08-17-2022, 09:39 PM
RE: Windows or Linux - by madscijr - 08-18-2022, 04:29 AM
RE: Windows or Linux - by aurel - 08-18-2022, 10:50 AM
RE: Windows or Linux - by bplus - 08-18-2022, 02:56 PM
RE: Windows or Linux - by SMcNeill - 08-18-2022, 03:19 PM
RE: Windows or Linux - by madscijr - 08-18-2022, 03:30 PM
RE: Windows or Linux - by mnrvovrfc - 08-20-2022, 12:07 PM



Users browsing this thread: 4 Guest(s)