PureBasic's Compile Folder

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

PureBasic's Compile Folder

Post by J. Baker »

Avast always scans the "PureBasic_Compilation*.exe" and in return kills the debugger. If compiling multiple files, the number will change. Hence why I used the asterisk.

Now if PureBasic compiled to, "Drive\User\UserName\AppData\Local\Temp\PureBasic\", instead of just the "Temp" folder alone. I could set an exception in Avast for that folder and anything that goes in it. Instead of the executable name, which changes by number, or having to disable Avast.

Thanks! ;)
Last edited by J. Baker on Wed Oct 09, 2019 4:43 pm, edited 2 times in total.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic's Compile Folder

Post by mk-soft »

It would be nice if you could set the folder completely by yourself
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic's Compile Folder

Post by Fred »

Good idea for both
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureBasic's Compile Folder

Post by J. Baker »

I didn't realize that you had to restart PureBasic in order for "Create temporary executable in the source directory" to work. The "Apply" button in preferences didn't do what I expected it to. So my "Source Code" folder is now an exception in Avast. Although I do think PureBasic should still have its own folder in "Temp".

Thanks!
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

Re: PureBasic's Compile Folder

Post by Marc56us »

In the meantime some AV can exlude folders by system env name (type SET in cmd.exe to see all)

%temp%\PureBasic_Compilation*.exe
(It's safer than excluding the entire temp directory)

Works in mine AV.

"Create temporary executable in the source directory" works only if you set a new name instead of default name. No need to restart IDE.
%temp% is used only if a name was not defined for source code.

:wink:
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureBasic's Compile Folder

Post by J. Baker »

Marc56us wrote: (It's safer than excluding the entire temp directory)
That would not be good. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic's Compile Folder

Post by skywalk »

Fred wrote:Good idea for both
Yay, is this coming soon?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PureBasic's Compile Folder

Post by davido »

@J. Baker,
Great Idea.
+1
DE AA EB
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureBasic's Compile Folder

Post by J. Baker »

davido wrote:@J. Baker,
Great Idea.
+1
Thanks! ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic's Compile Folder

Post by Tenaja »

Fred wrote:Good idea for both
+1. I hope it gets implemented.

In the meantime, I have all of my files in one subfolder (broken down further by projects) so I can exclude that one folder and all contents.
Post Reply