It is currently Sat Dec 14, 2019 11:25 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 4:29 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Apr 27, 2003 8:12 am
Posts: 2016
Location: USA
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! ;)

_________________
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.


Last edited by J. Baker on Wed Oct 09, 2019 4:43 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 4:36 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2065
Location: Germany
It would be nice if you could set the folder completely by yourself

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 4:38 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13662
Location: France
Good idea for both


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 4:43 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Apr 27, 2003 8:12 am
Posts: 2016
Location: USA
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 4:44 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Feb 08, 2014 3:26 pm
Posts: 718
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:

_________________
(English is not my native language, I use an online translator)
Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 4:56 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Apr 27, 2003 8:12 am
Posts: 2016
Location: USA
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 5:52 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3153
Location: Boston, MA
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


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 8:27 pm 
Online
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1712
Location: Uttoxeter, UK
@J. Baker,
Great Idea.
+1

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Wed Oct 09, 2019 10:56 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Apr 27, 2003 8:12 am
Posts: 2016
Location: USA
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic's Compile Folder
PostPosted: Thu Oct 10, 2019 6:30 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1579
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye